Basic CSS: Size Your Images, Error: img should be 100px wide

Tell us what’s happening:

I still get the error message, that the image should be 100px wide. The code is correct, and my browser (Safari) zoom is at 100%.

Has anyone made similar experiences and/ or has a solution?

Thanks for your help in advance!

Your code so far

<link href="" rel="stylesheet" type="text/css">
.smaller-image {
  width: 100px;
.red-text {
  color: red;

h2 {
  font-family: Lobster, monospace;

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

<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="">
  <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 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15.

Challenge: Size Your Images

Link to the challenge:

1 Like

At the moment there is a browser comparability bug which causes this test to fail in Safari. A fix has been written and is going through the process.
For right now, you can either skip this challenge or do it in another browser.


I made a post about this recently, on Mac Google Chrome works, I’ve found that even Firefox shows an error for me.

There isn’t an issue with this challenge in Firefox. Most likely you had a typo or copy-paste error when you tried it in Firefox. (Unless you have extensions installed or are not on the current version of Firefox.)

1 Like