Learn Intermediate CSS by Building a Picasso Painting - Step 7

I don’t have any issue with my code, but I have a CSS question. Between the last project where we built the budget form and this current project, I’m noticing some selectors need a # sign in front. In what cases do we use/not use these?


**Your browser information:**

User Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15</code>

**Challenge:**  Learn Intermediate CSS by Building a Picasso Painting - Step 7

**Link to the challenge:**
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-intermediate-css-by-building-a-picasso-painting/step-7

The hashtag is used to select an element by its unique id value.

1 Like

As opposed to the class, which gets a period. Just clicked. Thanks :+1:

2 Likes