Help! CSS Selectors to Style Elements

Help! CSS Selectors to Style Elements
0.0 0

#1

Tell us what’s happening:
Good evening,
I have been struggling with this problem for some time now. I don’t see what I’m doing wrong? any help would be greatly appreciated!!
Here’s the problem: “Delete your h2 element’s style attribute and instead create a CSS style element. Add the necessary CSS to turn all h2 elements blue.”

Your code so far

<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>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:


#2

You deleted more than just the h2 element’s style attribute. You deleted the entire h2 element (seen below). You can either type it back into your editor or click the Reset your code button and start from scratch.

<h2>CatPhotoApp</h2>