CSS Position: How to Place Anything Exactly Where You WantOpen any website and look closely. The navbar stays at the top while you scroll. A small “NEW” tag sits on the corner of a card. A chat button floats in the bottom corner. None of that happens by acci1d ago · 5 min readhardikdotdev.hashnode.dev
CSS Units Explained: px, %, em, rem, vw, and vhYou build a card, set its width to 600px, and it looks perfect on your laptop. Then you open it on your phone, and half the card hangs off the screen. Nothing is “wrong” with your code. The problem is4d ago · 5 min readhardikdotdev.hashnode.dev
CSS Selectors 101: How to Point at Exactly the Element You WantImagine you’re in a classroom of 30 students, and you want to hand out a prize. If you just say “come here,” everyone runs up. If you say “everyone wearing glasses,” a few step forward. If you say “RaOct 25 · 4 min readhardikdotdev.hashnode.dev
Emmet for HTML: Write Markup Faster Without Typing Every TagLet’s say you want a simple list of three items. Without any shortcuts, you’d type this: <ul> <li></li> <li></li> <li></li> </ul> That’s a lot of angle brackets, slashes, and closing tags fOct 23 · 4 min readhardikdotdev.hashnode.dev
Understanding HTML Tags and Elements: The Building Blocks of Every WebpageEvery website you’ve ever visited, from YouTube to your favorite news site, starts with the same thing: a plain text file full of small labels called HTML. If you’re just starting web development, thiOct 23 · 4 min readhardikdotdev.hashnode.dev