Having problems with Use of CSS Selectors to Style Elements

Having problems with Use of CSS Selectors to Style Elements
0

#1

Tell us what’s happening:
I am having problems using CSS selectors to style element. DONE according to HINT but code not running.

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 (X11; CrOS x86_64 9901.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.97 Safari/537.36.

Link to the challenge:


#2

What does the failing test say?


#3

I just clicked on RUN TESTS and it refuse to run… what can i do? please check my code again.


#4

What do you mean it “refuses to run”? Are there red :x:s next to test descriptions?


#5

There is no X sign anywhere. naturally, it should give me a pass mark and take me to the next challenge. it is not doing so.


#6

There are either green checkmarks or red :x:s next to all the tests.


#7

okay, there is a big X next to the test. it says ''your h2 element should be blue"


#8

You don’t have an h2 element in the code you shared above. You have a style element and a p element.


#9

so, should i create a h2 element?


#10

There will be nothing to turn blue if you don’t have a h2 element.
There should already have been one, but it looks like it was deleted. You can either reset the challenge and start fresh, or recreate the h2 element.


#11

I have reset the challenge. i have got the answer now. i have seen my mistake. thank you Ariel Leslie. till later again.