Tell us what’s happening:
Your code so far
<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 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
.
Challenge: Use CSS Selectors to Style Elements
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Hello there.
Do you have a question?
If so, please edit your post to include it in the Tell us what’s happening section.
The more information you give us, the more likely we are to be able to help.
1 Like
[quote=“JeremyLT, post:2, topic:428435, full:true”]
Hello there.
Do you have a question?
If so, please edit your post to include it in the Tell us what’s happening section.
The more information you give us, the more likely we are to be able to help.
[/quote]
I think i did every thing what it says but still not working (
it is about Use CSS Selectors to Style Elements
Your code worked for me when I tried it. Maybe it is your browser or an extension in the browser that is messing with the test somehow.
You could try another browser or just skip to the next challenge.
Hope that helps!
1 Like
It looks like your are using a dark mode extension. These sorts of extensions work by changing your CSS, which means that they interfere with the freeCodeCamp test suite. I’d turn of your dark mode extension for freeCodeCamp and turn on our native dark mode in your settings (can be done both on the Learn and Forum platforms).
1 Like
Thank you so much ))
it has worked
i have been speended 2 days to find what is the problem