Help! Change the Font Size of an Element

Help! Change the Font Size of an Element
0

#1

hello everyone!! Can anyone please help me ? I am trying to run this code but it doesn’t go. Error: “Between the style tags, give the p elements font-size of 16px. Browser and Text zoom should be at 100%.”

Your code so far

<style>
  .red-text {
    color: red;
    p {  font-size: 16px;}
  }
</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.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe</p>```
**Your browser information:**



**Link to the challenge:**
https://www.freecodecamp.org/challenges/change-the-font-size-of-an-element

#2

You have attempted to nest the above p element selector definition inside the red-text class selector definition. This is invalid syntax. Move it outside of the red-text class but keep it inside the <style> and </style> tags. Selectors start with a { and end with a }