Basic CSS: Resize your images

Tell us what’s happening:

Hey guys, i’m really stuck on this one, and i feel like i got everything right even the image shows smaller just as i set it up. Somehow still i cant seem pass this test.

Help pls many thanks!

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 class="smaller-image"
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_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15.

Challenge: Size Your Images

Link to the challenge:

Hello,
Did you try with a different browser?
Your code is working, it passes the test.

Hey there thanks for confirming it works! yay
However yes i have tried it in chrome instead of safari on my phone, and same issue. I can see in the preview that the image is smaller as i set it up, still it does not pass the test.
I am so furious I just want to carry on studying dammit

Update: Had to download chrome on my mac, and hallelujah it worked finally!
Thank you!

.smaller-image {
width: 200px;
}

@hirok The challenge is asking you to set the width to 100px.

Your image should be 100 pixels wide.

@VivaciousViv I would suggest you try a different browser on your Mac and not your phone. If it still doesn’t work, just skip this challenge and move on.