Pouvez vous m'aider , je ne comprend pas . Je pense que j'ai la bonne code mais pour mettre h2 en bleu mais quand j'exécute il m'envoi un erreur h2 pas bleu


  h2 {

    color: blue;



<h2 >CatPhotoApp</h2>


  <p>Click here to view more <a href="#">cat photos</a>.</p>

  <a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>


    <p>Things cats love:</p>


      <li>cat nip</li>

      <li>laser pointers</li>



    <p>Top 3 things cats hate:</p>


      <li>flea treatment</li>


      <li>other cats</li>



  <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>



I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Please also always include a link to the challenge - we don’t have them memorized. Or, if you use the Get Help -> Ask for Help button, it will do that for you.

If this is the challenge I think it is, your code passes for me. Do you have dark mode or some night-time color change thing going on? That can affect the colors on the screen which can screw up the tests.

Merci beaucoup pour le remarque :wink:
Je vais essaie la solution que vous avez proposez Kevinsmith

Good. Yeah, there are also things like accessibility settings and some plugins that can mess with tests. Bonne chance.

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