Browser and text zoom at 100%

Tell us what’s happening:
My code is affecting the text properly and at 16px, but I can’t pass the section because - as best I can tell - there’s an error with my browser and font text zoom.

I’ve tried doing this problem in both safari and chrome with no luck. I’ve made sure my zoom was at 100% in both and still got the same error. Is my code wrong or is there another way to fix this?

Your code so far


<style>
.red-text {
  color: red;
}
p {
  font-size: 16px
}
</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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15.

Challenge: Change the Font Size of an Element

Link to the challenge:

Try adding a semicolon at the end

2 Likes

That was it! Thank you so much for your help. I was stumped!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.