h2 element won't stay blue when I add bracket
See original GitHub issueChallenge 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:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top 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 >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
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: