---
title: "Discussion on \"Learning about Selectors and Pseudo Classes in CSS\" | Hashnode"
description: "Discussion on \"Learning about Selectors and Pseudo Classes in CSS\". \"Let's have some fun with CSS\""
url: "https://hashnode.com/posts/learning-about-selectors-and-pseudo-classes-in-css/63749c815891185003b538a2"
---

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

Discussion

# [Learning about Selectors and Pseudo Classes in CSS](https://badjatya.hashnode.dev/learning-about-selectors-and-pseudo-classes-in-css?utm_source=hashnode&utm_medium=feed)

"Let's have some fun with CSS"

Nov 16, 2022 · 5 min read · badjatya.hashnode.dev  
Read the article

-   [#iwritecode](https://hashnode.com/tag/iwritecode)
-   [#hiteshchaudhary](https://hashnode.com/tag/hiteshchaudhary)
-   [#css](https://hashnode.com/tag/css)
-   [#ineuron](https://hashnode.com/tag/ineuron)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Archit Badjatya](https://hashnode.com/@Badjatya)

@Badjatya · Indore | India

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

Full Stack Web and Mobile Developer

I am a final year student studying Computer Science specialized in AI, working on my web developer profile. I am hoping to pursue my carrier as Full-Stack (MERN) developer. Experienced as Full-Stack Developer with a demonstrated history of working at ISRO, demonstrated proficiency in individual interaction and communication to maximize productivity. Hands-on skills in React, React Native, JavaScript, NodeJS, ExpressJS, MongoDB, SQL, SAAS, REST APIs, Adobe XD and C/C++. Dedicated to implementing object-oriented solutions, I am a UI/UX Designer who plays Cricket and enjoys EDM. Dedicated to the responsibilities assigned to me.

## Responses 3

Markdown supported · ⌘↵ to post

[Lakshmi Navalli](https://hashnode.com/@geekygirl519)

[Nov 17, 2022](https://hashnode.com/posts/learning-about-selectors-and-pseudo-classes-in-css/63749c815891185003b538a2/comment/6375da6e697cc06d123409e5)

What If two HTML elements have same ID selectors?

[Archit Badjatya](https://hashnode.com/@Badjatya)

[Nov 17, 2022](https://hashnode.com/posts/learning-about-selectors-and-pseudo-classes-in-css/63749c815891185003b538a2/comment/6375da6e697cc06d123409e5#reply-6375ea35ca227470058fe5f6)

HTML is quite forgiving. It will not throw any errors and will apply styles to all elements with IDs, but this is termed as bad practice.

[Lakshmi Navalli](https://hashnode.com/@geekygirl519)

[Nov 17, 2022](https://hashnode.com/posts/learning-about-selectors-and-pseudo-classes-in-css/63749c815891185003b538a2/comment/6375da6e697cc06d123409e5#reply-6375ed86ca227470058fe6b0)

[Archit Badjatya](https://hashnode.com/@Badjatya) I appreciated your answer thank you :)

[Pradhumn Sharma](https://hashnode.com/@Pradhyum)

[Nov 17, 2022](https://hashnode.com/posts/learning-about-selectors-and-pseudo-classes-in-css/63749c815891185003b538a2/comment/6375cab822ce496d8ff6dbc0)

Good work, very understanding 🤩

[Archit Badjatya](https://hashnode.com/@Badjatya)

[Nov 17, 2022](https://hashnode.com/posts/learning-about-selectors-and-pseudo-classes-in-css/63749c815891185003b538a2/comment/6375cab822ce496d8ff6dbc0#reply-6375da35697cc06d123409d6)

Thank you [Pradhumn Sharma](https://hashnode.com/@Pradhyum)

[Gaurav Singh](https://hashnode.com/@Gauravsingh19)

[Nov 16, 2022](https://hashnode.com/posts/learning-about-selectors-and-pseudo-classes-in-css/63749c815891185003b538a2/comment/637506cbe1d53a5fd290e67f)

i have a question can you help me ? my discord id Gaurav Singh#4419

[Archit Badjatya](https://hashnode.com/@Badjatya)

[Nov 17, 2022](https://hashnode.com/posts/learning-about-selectors-and-pseudo-classes-in-css/63749c815891185003b538a2/comment/637506cbe1d53a5fd290e67f#reply-6375da2a697cc06d123409ce)

Sure bro
