Browser Zoom issue, Cannot pass the test

Tell us what’s happening:
Hey guys,

I think I have some browser zoom issue that makes me unable to past this test. I have tried to reset the zoom of the window from minimum to maximum. Nothing worked so far. Is there a quick fix for this problem?Thank you.

Your code so far

<link href="" rel="stylesheet" type="text/css">
.red-text {
  color: red;

h2 {
  font-family: Lobster, monospace;

p {
  font-size: 16px;
  font-family: monospace;

smaller-image {
  width: 100px;
  height: auto;

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

<a href="#"><img class="smaller-image" src="" alt="A cute orange cat lying on its back."></a>

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

<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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36.

Challenge: Size Your Images

Link to the challenge:

It is not the browser; it is you :slight_smile:

When you are selecting the class in CSS file, you should put “.” dot.

It seems like you have missed to put it. When you place a dot, it’s going to pass just fine.

smaller-image {
  width: 100px;
  height: auto;

Browser zoom isn’t your issue. That hint is in there because it’s possible to fail the tests even if your code is correct when your zoom is weird. In this case, your image is not set to 100 pixels wide because you have an error in how you declared your selector. To declare a class selector, you need to use a period (.), like the .red-text selector above. Just using smaller-image {... would be creating a selector for an element that looks like <smaller-image>...</smaller-image>, like the p and h2 selectors above.

Thanks, I have added the dot but the problem is still the same, the error is still the zoom. I also reset the lesson and tried again, nothing has changed. And I don’t know why wether I added the dot or not, it would still select the smaller-image.

On Firefox and Chrome [ctrl]+[0] will reset the browser to 100%. If you’re still having issues, you might have something else funky going on with your browser. Do you have any extensions that change the appearance of websites (such as a dark mode extension)?

Thank you, I’ve added the dot back, but still not passing.

What browser are you using? Do you have any extensions running? Have you tried running it in incognito mode? What is your current code?

I am using chrome 80. Just tried in the incognito mode, didn’t work either.

When I correct the selector, it works in both Chrome and Firefox. What is your current code?

My current code is the above code with a dot added. I just tested, it worked in Microsoft edge. I guess it’s the Chrome issue. Thanks for your help.

The correct code does work in Chrome, so there may be something funky with your Chrome configurations. I don’t know if whatever issue you’re having will affect other challenges or not.

Yes, could be my chrome, other challenges are all good so far.