Hello, I can’t understand why when I run the test I receive the message:
// running tests
Your h2 element should be red.
// tests completed"
Your code so far
<h2 style ="color: red;">CatPhotoApp</h2>
<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>
<p>Things cats love:</p>
<p>Top 3 things cats hate:</p>
<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>
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36.
Looks good to me! Just copied your code and it passed!!!
Are you by any chance using Edge, IE, or Safari as your browser? Free Code Camp has been updated to use newer technologies. It makes the application much faster and it means that we can go much longer without having to do a huge migration like the recent one. However, Edge, Internet Explorer, and Safari are very bad about choosing not to adhere to standards and support new functionality in JS and CSS. Right now, that means that these browsers exhibit lots of unexpected behavior. If you become a web developer you will come to hate these browsers with every fiber of your being.
Are you maybe using an extension for dark mode? That would change the color of the text and could be a cause for it not passing
Also, you shouldn’t have a space after
Yes, I have a plugin for dark mode. I’ ll try with another browser then.
Thank you for this tip.
Just suspend the dark mode, you can switch on dark mode in freecodecamp from the settings, google chrome work splendidly - don’t change it!
For what it’s worth, FCC has a dark mode that you can choose on your Settings page. You could then disable your extension on FCC and continute using Chrome.
The dark mode is disabled although this plugin maybe creates problems.
I use Mozilla (without plugins) now and it runs great