Change the Font Size of an Element i cant pass this chalenge

Change the Font Size of an Element i cant pass this chalenge
0.0 0

#1

Tell us what’s happening:

Your code so far

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

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

<style>
  .red-text {color: red;}p{font-size: 16px;}
  </style>
<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>
 <style>
   .font-size {font-size: 34px;}
   </style>
   
<p class="red-text" class="font-size">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Linux; Android 7.0; SM-G920F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.137 Mobile Safari/537.36.

Link to the challenge:


#2

You must use only one class attribute, but you can add one or more class names for the element, like this

class = “red-text font-size”

and put all your css properties in a single <style> all your css properties goes here </style> tag.