I did what it asked me too but it's saying i didn't do it

Tell us what’s happening:
the test said to create a class called “smaller-image” to make my image’s width be 100px, so I did that and it asked me to give the image the class smaller-image, which I did but it says I haven’t and i don’t understand why.w

Your code so far

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
.red-text {
  color: red;
.smaller-image {
  width: 100px;
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  src=https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back." class="smaller-image" ></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 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36.

Challenge: Size Your Images

Link to the challenge:

The opening quotes (") in the url are missing. This makes the whole image tag messed up.

I don’t see where you set your image to use the smaller-image class. Where do you believe that you did that?

Edit: Ah, I see it. @ArielLeslie is right!

thank you very much, i didnt see that, i must have erased it by accident

It’s the sort of thing that happens easily. You’ll learn how to find that sort of typo quickly.

1 Like