Is This the sites fault or my fault. need help!

Tell us what’s happening:
i followed exact steps in the video, i did reset the code but still its saying the same thing-
Your h2 element should be in blue.
how can i get to next challange now.

Your code so far


<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="/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/80.0.3987.149 Safari/537.36.

Challenge: Use CSS Selectors to Style Elements

Link to the challenge:

I pasted and passed.
You may just ignore and go for next challenge.

1 Like

@omkar38, @montanio19,

  1. ‘Change the h2 selector to .red-text’ ==> means change the selector that says h2 to a selector that says .red-text.
  2. Update the color’s value from blue to red ==> means update the color ==> blue -> red
  3. Give your h2 element the class attribute with a value of ‘red-text’ ==> This means, in the HTML section, change to this: <h2 class="red-text"</h2>.

I agree that the challenge doesn’t read smoothly at first glance. It would read better if it stated, change the h2 selector to a .red-text class selector. This is ultimately what you’re being asked to do:

<style>
  .red-text {
    color: red;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

@romeojeremiah wrong challenge…

@omkar38 do you have a dark mode extension? or something else that changes the color of web pages? that will make the tests fail. you can switch on the native dark mode in the settings

Oops. You’re right. Thanks. :wink: