Style Multiple Elements with a CSS Class

Style Multiple Elements with a CSS Class
0

#1

Tell us what’s happening:

guys 'im stuck here, what i need to do?

Your code so far

<style>
  .red-text {
    color: red;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p class="red-text">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/60.0.3112.113 Safari/537.36.

Link to the challenge:


#2

Your code works fine here.

You could try

  • Copying your code, hit the Reset button, paste, then submit again.
  • Clearing your browser’s local storage.
  • Submitting your code in an incognito window or a different browser.

#3

thx it’s work, i just reset and paste it again, dunno why didn’t work in the 1st try…


#4

Its something that’s been happening a lot. I think it seems to affect Chrome and Fire Fox the most.