Your img element should have the class smaller-image - Size your Image

Tell us what’s happening:
Keep on saying " Your img element should have the class smaller-image"

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;

<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="" 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="">
  <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/87.0.4280.88 Safari/537.36.

Challenge: Size Your Images

Link to the challenge:

Hey @sfmasoka!

Your code runs for me!

Try disabling extentions like dark theme and ad blocker.

Tried it… It still gives me the same error when I submit

Which browser do you use??


Try clearing the cache

did that…

What Happened? Did the test pass?

Nope same error. The image does conform to the code but when I submit there is an error

Try Using FireFox or any other.

I tried IE and MsEdge …same error… I’ll try Fire fox later after I install it

What system do you use?


I think there is a problem with the marking program in this particular challenge ( size your images) because as I go on with the rest of the challenges, the code works well

But the code goes for me!?