question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Your h2 element should be blue." why? =[

See original GitHub issue

Challenge Use CSS Selectors to Style Elements has an issue. User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<style>
   h2 {color: blue;}
</style>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
lihuelworkscommented, Apr 24, 2020

Had an issue with this, solved it by disabling any userstyle extensions (Stylus, Stylish, or any “dark mode” extensions). Turns out your userstyle affects how freecode evaluates your excercise. Hope it helps!

0reactions
RandellDawsoncommented, Feb 27, 2021

Please use our forum for general coding questions. GitHub issues are meant for reporting bugs and not troubleshooting the code in your projects.

Thank you for understanding.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Your h2 element should be blue. Though my code is right! Help!
I am stuck at “Your h2 element should be blue” though the code I have posted is right. I even can see the...
Read more >
Error in CSS style elements: "Your h2 element should be blue ...
Your css should work by now. I did remove the line "<h2 style="color: red">CatPhotoApp</h2>" and added like this: <style> h2 {color: blue;} </ ......
Read more >
FreeCodeCamp/Help - Gitter
Remove the style attribute from your h2 element. Create a style element. Your h2 element should be blue. Ensure that your stylesheet h2...
Read more >
Use CSS Selectors to Style Elements - Snakify
Delete your h2 element's style attribute and instead create a CSS style element. Add the necessary CSS to turn all h2 elements blue....
Read more >
Headline with the h2 Element Free Code Camp Org Basic ...
I am very much a beginner in programming and coding, this is my experience through this course, I may stumble, fall or even...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found