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.

h2 element won't stay blue when I add bracket

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.110 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:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fitzmlcommented, Jun 10, 2017

Hi Derek,

Okay, I’ll try that. Thanks much for the help.

Marsha

On Fri, Jun 9, 2017 at 3:24 PM, Derek Brottlund notifications@github.com wrote:

Change the

tags to tags…

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/freeCodeCamp/freeCodeCamp/issues/15284#issuecomment-307490356, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab809S5pI6m8DtXKAeor-tPL7CWwVozlks5sCaoAgaJpZM4N1wjM .

0reactions
raisedadeadcommented, Jun 11, 2017

Please use the Chat Rooms or try looking through our forum for help with a specific challenge and any coding assistance.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error in CSS style elements: "Your h2 element should be ...
Remove the space between opening brackets of style tag. <h2 style="color: red">CatPhotoApp</h2>. is the line causing issue.
Read more >
Lesson will not allow to progress after it is completed #2834
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 >
I don't know why it's not excepting my h2 as red need help ...
Classes are reusable styles that can be added to HTML elements. You can apply a class to an HTML element like this: <h2...
Read more >
CSS - Cascading Style Sheets, designing for the Web
Here's a style sheet (shown in bold) glued to a sample document by using the style element. The result is shown in Figure...
Read more >
CSS syntax
So all CSS selectors look like this (including the curly brackets, ... adding this to your CSS file, and you should see the...
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