How do i set my browser zoom to 100%

Tell us what’s happening:

it says i need to set my browser zoom to 100% to pass the challenge how do i do this?

Your code so far


<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .smaller-image {
    width: 100px;
  }
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, monospace;
  }

  p {
    font-size: 16px;
    font-family: monospace;
  }
</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="/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_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-css/size-your-images

i don’t think that is the problem here.

you should add the new class to the image.

@hassanbhb what is a class? and where?

for example the <h2 class="red-text">CatPhotoApp</h2>
has a class equal to red-text.

and that class is used in the css like this:
.red-text { color: red; }

therefor the h4 has color red.

now you need to give the class smaller-image to the img tag to change the size of the image.

@Hassanbhb but the challenge is to make the image 100 pixels and it says to make my browser to 100%

that is only a note, not a requirement. your problem is not the zoom of the browser it’s what i said before. just add the class smaller-image to the img tag.

As for setting the zoom in your browser it depends on which one you are using. I think in all of them you can go to the settings menu and look for the zoom. Chrome also has a little magnifying glass in the URL address box, click on that to change the zoom level.

For me personally the easiest way is keyboard shortcuts.
On Macs- CMD & + will zoom in while CMD & - will zoom out. Firefox will pop up a little … window? next to the URL address bar when you zoom in, but when you zoom back to 100% it disappears.
Same thing with Chrome.