---
title: "Discussion on \"Understanding CSS Selectors: Class Selectors and ID Selectors\" | Hashnode"
description: "Discussion on \"Understanding CSS Selectors: Class Selectors and ID Selectors\". Hello, World! Welcome to the second article in my CSS series, Understanding CSS Selectors, a series created with the aim to help explain more about the use of selectors to have a good foundational knowledge of CSS, as we know that selectors when prop..."
url: "https://hashnode.com/posts/understanding-css-selectors-class-selectors-and-id-selectors/60284d8199eab86a04871b1b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Understanding CSS Selectors: Class Selectors and ID Selectors](https://fynnbarr.hashnode.dev/understanding-css-selectors-class-selectors-and-id-selectors?utm_source=hashnode&utm_medium=feed)

Hello, World! Welcome to the second article in my CSS series, Understanding CSS Selectors, a series created with the aim to help explain more about the use of selectors to have a good foundational knowledge of CSS, as we know that selectors when prop...

Feb 13, 2021 · 4 min read · fynnbarr.hashnode.dev  
Updated Apr 3, 2023  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Edozie Onyeanusi](https://hashnode.com/@Edozie)

@Edozie · Lagos and Enugu, Nigeria

  
[View profile](https://hashnode.com/@Edozie)

Frontend Developer and Technical Writer

I am a software developer with a strong passion for sharing knowledge and a commitment to creating exceptional products that can positively impact billions of lives.

## Responses 1

Markdown supported · ⌘↵ to post

[Anna Liza Solivio](https://hashnode.com/@annalizasolivio)

[Feb 14, 2021](https://hashnode.com/posts/understanding-css-selectors-class-selectors-and-id-selectors/60284d8199eab86a04871b1b/comment/6028942699eab86a04871d3d)

Agree with this Reasons not to use IDs in CSS, we need IDs for scripting to select the element easily.

[Edozie Onyeanusi](https://hashnode.com/@Edozie)

[Feb 18, 2021](https://hashnode.com/posts/understanding-css-selectors-class-selectors-and-id-selectors/60284d8199eab86a04871b1b/comment/6028942699eab86a04871d3d#reply-602e60a61591c5239ebdb6ad)

Yes, I agree too. It's a wonderful article from Claire.
