The box contains further 4 boxes and 2 invisible (whoo) boxes.
👇
Sep 9, 2020 • 7 tweets • 2 min read
How to load images the right way:
🧵A mini-thread
👇
Always set width and height on the img tag.
Why?
You might have noticed jumps in pages when loading. It is because the height of the image is not set explicitly and it affects UX / SEO.
Google has also started measuring these shifts in a metric named Cumulative Layout Shift.
Sep 8, 2020 • 13 tweets • 4 min read
Understanding Media Queries in CSS:
🧵A thread🧵
Components of a media query:
1. An optional media query modifier
Example: only or not
2. An optional media type
Example: screen, print, etc.
3. Zero or more media features
Example: resolution, device-aspect-ratio, etc.
👇
Sep 5, 2020 • 12 tweets • 3 min read
How to build awesome forms with only HTML & CSS:
🧵A Thread🧵
Basic HTML:
Write the basic HTML
Aug 30, 2020 • 5 tweets • 1 min read
5 tips for becoming a developer:
1. Learn by doing, always play with the code while learning.
With every new topic, the sooner you start playing with the code, the faster you will learn the given concepts.
2. Grasp the fundamentals for long term benefits.
As elementary as they appear as they appear, the fundamental concepts always need to come first.
Aug 30, 2020 • 5 tweets • 2 min read
A thread on testing HTML:
-> HTML 5 semantic elements:
Make sure that the markup is structured semantically and all the required semantic elements are used appropriately.
All the pages should be W3C compliant and tested with validator.w3.org to identify possible issues in HTML code.
👇
Aug 9, 2020 • 5 tweets • 1 min read
5 practices to become a better developer:
1. NEVER STOP LEARNING
The tech industry is one of the most dynamic fields in which you can never stop learning in order to remain relevant to the industry.
2. DON'T GIVE UP
When a question or an error seems impossible to solve, don't give up. Be stubborn when it comes to solving problems and you will eventually succeed. Sometimes it works automatically after taking a break. 😅
Aug 8, 2020 • 6 tweets • 1 min read
HOW TO LEARN A NEW SKILL:
🧵 A thread🧵
The 10,000 hour rule:
You need 10,000 hours of deliberate practice to master a skill.
- Malcolm Gladwell
Does it really take that long?
👇👇👇
Actually, the rule is true for becoming an expert at something.
Otherwise, you need 20 HOURS to go from "knowing nothing to being pretty good".
These 4 techniques will help you acquire a new skill:
👇👇👇
Aug 7, 2020 • 8 tweets • 1 min read
HOW TO WRITE CLEAN CODE:
🧵A THREAD🧵
Don't call the world dirty because you forgot to clean your glasses!
👇
WRITE FOR HUMANS:
The code we write will be interpreted by machines. However, it will be read and improved by humans. So, write beautiful, impressive and readable code.