Problem in Change the Font Size of an Element

Problem in Change the Font Size of an Element
0

#1

Can anyone help me ? I am trying to run this code but not able to run. Error that “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.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe.</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/63.0.3239.132 Safari/537.36.

Link to the challenge:


#2

You have a syntax error in your code. Check your curly braces.