Style Elements using CSS Selector

Style Elements using CSS Selector
0

#1

Tell us what’s happening:
why is this asking me to…“Remove the style attribute from your h2 element.”?
I"m not sure what this portion is asking me to do? I understand that CSS is another way to create a style instead of the HMTL5 version correct?

Your code so far

<h2 style="color: blue">CatPhotoApp</h2>

<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/63.0.3239.84 Safari/537.36.

Link to the challenge:


#2

The styles attribute is the word style, followed by everything to the second quotation mark. It’s the way you are currently styling your <h2> element.

Instead of styling your <h2> element with the style attribute, They want you to use a style element <style>styling stuff goes inside this element now</style>


#3

I was able to follow the solution from a previous response. Thanks for the response!