Use CSS Selectors to Style Elements help needed permantely

Use CSS Selectors to Style Elements help needed permantely
0

#1

Tell us what’s happening:
im geting problems with th css selctors challenge

** Your code so far**

<h2 <style><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.108 Safari/537.36.

Link to the challenge:


#2

Read these instructions again carefully, as you are not using the correct syntax to write your style tags or HTML elements.

From the instructions:


At the top of your code, create a style element like this:

<style>
</style>

Inside that style element, you can create a CSS selector for all h2 elements. For example, if you wanted all h2 elements to be red, your style element would look like this:

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

Note that it’s important to have both opening and closing curly braces ({ and }) around each element’s style. You also need to make sure your element’s style is between the opening and closing style tags. Finally, be sure to add the semicolon to the end of each of your element’s styles.

Delete your h2 element’s style attribute and instead create a CSS style element. Add the necessary CSS to turn all h2 elements blue.