© 2026 Hashnode
In web development there are three foundational technologies for Frontend. They are : HTML CSS JavaScript Where HTML is used for preparing skeleton of Web Page, CSS is used to make it looking good and JS is used for functionality. But have you e...

Imagine trying to find a specific house in a large city. You might look for the neighbourhood, a particular street name, or the house number. CSS Selectors works in the same way. They allow you to choose specific HTML elements on your webpage and app...

Why CSS selectors are needed CSS Selectors are needed because we need to have a way to style only particular regions of HTML without affecting other regions, that’s why we use selectors What are Selectors Selectors can be anything that allows us to s...

In CSS, targeting a specific element looks easy and it is actually easy. But when a same element is targeted by class, id, tag name then which will the browser gives priority is not that simple. In this blog you will learn about different types of se...

Why CSS selectors are needed CSS selectors are needed because CSS works like this : “Select elements —> apply styles to them” Without selectors , you wouldn’t have a way to say: “Make all headings bigger” “only make the button blue” “Style the l...

We have spent some time learning how to build the structure of our websites using HTML. We know how to create headings, paragraphs, and lists. We even know how to write them quickly(Emmet). But right now, everything looks plain. It is just black text...
