Multiple Elements with a CSS Class

Multiple Elements with a CSS Class
0

#1

Can anyone help completely stumped.

Your p element should have the class red-text. I have been doing this on my mobile so far, so not sure if this is the problem or more likely it’s my little knowledge of HTML. Thanks in advance
Your code so far

  .red-text {
    color: red;
  }
</style>
<h2 class="red-text">CatPhotoApp</h2>
<p style=color:red;>
<p> class=''red-text''> </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 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.0 Mobile/14G60 Safari/602.1.

Link to the challenge:


#2

Please change the following line of code:

<p> class=''red-text''>

This needs to be updated to

<p class=''red-text''> </p>

#3

Thank you so much for the help, really appreciate it. Have a good day and thanks again. [quote=“cheriannet, post:2, topic:184424”]
<p class=’‘red-text’’> </p>
[/quote]


#4

As you can see in the last line of code:

 

class=''red-text''>

Instead it should be:


<p class="red-text"> </p>