Change the Font Size of an Element (solved)

Change the Font Size of an Element (solved)
0.0 0

#1

So i noticed lots of people also got a bit stuck on this (including me for at least 20 minutes…quite embarrasing) until i realized what it was, so i deceided to post the code here in case it helps. So simple! i didnt realized i had to just püt the style INLINE in the second paragraph tag…oops.

here is the code:


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

Link to the challenge:


#2

Because we’re reading this forum from a browser, which interpret your HTML code :stuck_out_tongue:
Enclose your code into backticks ( or click the </> icon right above the reply textarea )^^
That said if you want to share a complete solution enclose it into [spoiler] [/spoiler]to obtain the blur effect.
Click here -->This text will be blurred


#3

ahhh! Thanks a lot (=