This looks easy but i don't get it

Tell us what’s happening:

Your code so far


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

<h2 class="red-text">CatPhotoApp</h2>
<main>
<p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

<div>
  <p>Things cats love:</p>
  <ul>
    <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>
  </ul>
  <p>Top 3 things cats hate:</p>
  <ol>
    <li>flea treatment</li>
    <li>thunder</li>
    <li>other cats</li>
  </ol>
</div>

<form action="https://freecatphotoapp.com/submit-cat-photo">
  <label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
  <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
  <label><input type="checkbox" name="personality" checked> Loving</label>
  <label><input type="checkbox" name="personality"> Lazy</label>
  <label><input type="checkbox" name="personality"> Energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36 OPR/70.0.3728.178.

Challenge: Change the Font Size of an Element

Link to the challenge:

So in order to change the font size for some specif tag (

, ) ,or for class ( .className1 , .className2 ).
We can select the that element in and make changes.

<style>
  .red-text {
    color: red;
  }
   p {
     font-size : 16px;
  }
</style>

In this example, we are selecting the p Tag and changing its font size to 16px,

@BigBabyBoy please do not post topics without filling out Tell us what’s happening

What part of the instructions is confusing for you? You need to

  1. make a style rule for p elements

  2. use this style rule to set the font to 16px

It is great that you solved the challenge, but instead of posting your working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting working solutions.

I have added [spoiler] and [/spoiler] tags on the line above and below your solution code.