# /responsive-web-design/basic-css/use-css-selectors-to-style-elements

**URL:** <https://forum.freecodecamp.org/t/responsive-web-design-basic-css-use-css-selectors-to-style-elements/461331>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [May 21, 2021, 9:39pm UTC](https://forum.freecodecamp.org/t/responsive-web-design-basic-css-use-css-selectors-to-style-elements/461331 "2021-05-21T21:39:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SunnyBoi](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SunnyBoi](https://forum.freecodecamp.org/u/SunnyBoi)\
**Post date:** [May 21, 2021, 9:39pm UTC](https://forum.freecodecamp.org/t/responsive-web-design-basic-css-use-css-selectors-to-style-elements/461331/1 "2021-05-21T21:39:30Z")

</div>

I am not sure where i am going wrong, i have tried multiple suggestions and it still is saying make sure H2 is blue.. Thanks

```
  **Your code so far**

```

```html

<style>
h2{color:blue;}
</style>
<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

<div>
  <p>Things cats love:</p>
  <ul>
    <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>
  </ul>
  <p>Top 3 things cats hate:</p>
  <ol>
    <li>flea treatment</li>
    <li>thunder</li>
    <li>other cats</li>
  </ol>
</div>

<form action="https://freecatphotoapp.com/submit-cat-photo">
  <label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
  <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
  <label><input type="checkbox" name="personality" checked> Loving</label>
  <label><input type="checkbox" name="personality"> Lazy</label>
  <label><input type="checkbox" name="personality"> Energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>

```

```
  **Your browser information:**

```

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36`.

**Challenge:** Use CSS Selectors to Style Elements

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design/basic-css/use-css-selectors-to-style-elements)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![kevinSmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevinsmith/32/72934_2.png) [@kevinSmith](https://forum.freecodecamp.org/u/kevinSmith)\
**Post date:** [May 21, 2021, 9:42pm UTC](https://forum.freecodecamp.org/t/responsive-web-design-basic-css-use-css-selectors-to-style-elements/461331/2 "2021-05-21T21:42:00Z")

</div>

I don’t know, it passes for me.

Be careful with things involving color - make sure you don’t have dark mode on.

Barring that, I would reboot, clear your browser cache, or try a different browser.

If none of that works, just back out of this challenge and move onto the next.

---

<div class="post-metadata">

**Author:** ![SunnyBoi](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SunnyBoi](https://forum.freecodecamp.org/u/SunnyBoi)\
**Post date:** [May 21, 2021, 9:49pm UTC](https://forum.freecodecamp.org/t/responsive-web-design-basic-css-use-css-selectors-to-style-elements/461331/3 "2021-05-21T21:49:00Z")

</div>

It was my darkreader… Thank you so much.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [November 20, 2021, 9:49am UTC](https://forum.freecodecamp.org/t/responsive-web-design-basic-css-use-css-selectors-to-style-elements/461331/4 "2021-11-20T09:49:52Z")

</div>

Closed on November 20, 2021, 9:49am UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
