It says that h2 element should be blue. I'm sure the code is right!!
See original GitHub issueChallenge use-css-selectors-to-style-elements has an issue.
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101
Firefox/53.0
.
Please describe how to reproduce this issue, and include links to screenshots if possible.
<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="/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>
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Your h2 element should be blue error - HTML-CSS
I was told to change the color of the text CatPhotoApp into blue and I did but it kept telling me “Your h2...
Read more >Error in CSS style elements: "Your h2 element should be blue ...
Your h2 element should be blue. Again and again. :(( I dont know how to fix it. Plz help me!! html · css....
Read more >FreeCodeCamp/Help - Gitter
Your h2 element should be blue. Ensure that your stylesheet h2 declaration is valid with a semicolon and closing brace. Make sure all...
Read more >How To Select HTML Elements Using ID, Class, and Attribute ...
To start working with id , class , and attribute selectors, you will first set up the HTML and CSS code that you...
Read more >How and when to use the CSS :has selector - LogRocket Blog
The CSS :has() selector allows us to style an element based on its descendants or any succeeding elements.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry for the trouble everyone, thanks for looking into this. We recently fixed this (https://github.com/freeCodeCamp/freeCodeCamp/pull/15775), so I’m closing this issue. If you think I’m wrong in closing this issue, please reopen it and add further clarification.
Happy coding!
Aren’t still not working in both!!!