This challenge is saying that h2 is not blue!

i added blue to my color but when i run the test they are saying that the color should be blue

Your code so far

h2 {color: blue;}
1 Like

what’s your whole code? what’s the challenge link?

my code is down here

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

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 (’).

do you have any extension? like a dark mode extension?

here is the challenge link

https://www.freecodecamp.org/learn/responsive-web-design/basic-css/use-css-selectors-to-style-elements

yes, and it was on firefox. but i completed the course without any problems! hmm… i will disable it and then say you whether it works

this is the first challenge of CSS, and the dark mode extension changes the css of the page, making so that the tests can’t detect the css you have written in the editor

1 Like

yes, and it was on firefox. but i completed the course without any problems! hmm… i will disable it and then say you whether it works
and it did worked!