Cannot advance lesson.
Problem: Your h2 element should be red.
Don’t know what is wrong.
If you share your code, it’s easier to help. It looks like maybe you are missing a space in your “color: red”?
Thanks I tries that first, exactly like in the left field.
I’m new here, not sure how post code tags.
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 easier to read.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>
) will also add backticks around text.
Note: Backticks are not single quotes.
<h2 style="color:red;">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>
Do you have a dark mode extension? If it is so, switch it off for fcc, you can a ti ate the native dark mode from the settings
Yes, DarkReader.
Disabled it fixed problem.
I did search first, could not find solution.
Thank you for time and rapid answer,