gurjotcodes.hashnode.devEmmet for HTML: A Beginner’s Guide to Writing Faster MarkupWriting HTML feels slow at first (and that’s normal) When you start writing HTML, it often looks like this: <div class="card"> <h1>Title</h1> <p>Description</p> </div> Now imagine writing this again and again, closing every tag manually, fixing ...Jan 30·3 min read
gurjotcodes.hashnode.devCSS Selectors: A Beginner's GuideWhy do CSS selectors exist? HTML gives structure to a webpage.CSS gives it style. But here is the problem: A webpage can have hundreds of elements.How do you tell the browser which ones to style? That is exactly what CSS selectors do. CSS selectors...Jan 30·2 min read
gurjotcodes.hashnode.devUnderstanding HTML Tags and ElementsWhat is HTML, and why do we use it? Every webpage you see starts with HTML. HTML stands for HyperText Markup Language. At its core, HTML is: the language used to describe the structure of a webpage Think of a webpage like a human body: HTML is the...Jan 30·3 min read
gurjotcodes.hashnode.devHow a Browser WorksWhat happens after I type a URL and press Enter? You type example.com in the address bar and hit Enter. A moment later, a fully designed webpage appears.Text, images, buttons, colors, and layout. All done. But behind the scenes, the browser just perf...Jan 30·3 min read
gurjotcodes.hashnode.devUnderstanding How TCP WorksWhat happens if data is sent without rules? Imagine two people trying to talk by throwing notes across a crowded room. Some notes fall.Some arrive late.Some arrive twice.Some arrive in the wrong order. Now imagine building the internet on top of that...Jan 20·3 min read