Please help i can not find mistake in my code CSS style

Tell us what’s happening:

   **Your code so far**

i’ve been trying to locate my fault for the last hour,can someone please help to locate where is my mistake, …


<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; rv:86.0) Gecko/20100101 Firefox/86.0.

Challenge: Use CSS Selectors to Style Elements

Link to the challenge:

why do you think there is a mistake? what are you trying to achieve?

I don’t see a mistake. What error do you get?

When I copy/paste your code into the challenge it passes. perhaps try a different browser, or save your code somewhere, reset the challenge and paste it back in.

1 Like

I don’t see any mistake in here, although I haven’t created any website design for the last three months because my laptop broke and now I am looking for a cheaper pricing laptop, any leads?


It give me this respond “Your h2 element should be blue” hence i can’t continue to next challenge.

It tooks me hours still I can’t figured out what is the problem

thank you soo much, i tried with chrome and it passes Yippie… : )

Welcome, abolbu.

Keep in mind throughout the curriculum: Browser extensions (ad-blocks, the CSS/style changer you have) can, and do, affect the tests - causing unexpected behaviour.

Hope this clarifies

1 Like

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