Use a CSS Style

Use a CSS Style
0.0 0

#1

Please my code refuses to run, I’ve checked it for errors and I didn’t see any. Can anyone offer a solution?

My code so far

<style>
  
  .red-text {
    color:red;
  }  
 
</style>
<h2 class="red-text">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 (Linux; Android 6.0; M6 mirror Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.83 Mobile Safari/537.36.

Link to the challenge:


#2

Your code should work. Try resetting the challenge and pasting the code above back in.


#3

The h2 element’s color doesn’t change still.


#4

Are you clicking “Run tests”?


#5

Yes… I’ve been at it for the whole day


#6

And it still shows the tests failing?

Is it possible you have a script blocker running in your browser? What browser are you using?

Is this exactly what is in your editor for the challenge?

<style>
  
  .red-text {
    color:red;
  }  
 
</style>
<h2 class="red-text">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>

#7

The test is still failing. I’m using chrome browser and that’s exactly what I have for my code.


#8

Are all the tests failing, or just one? (You can skip this challenge at any time by just going to the map and clicking on the next one.)