Size your Images,,

Tell us what’s happening:

Your code so far

   Am stuck here challenge 21 I can't pass it. What could be wrong? Please help.


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

  h2 {
    font-family: Lobster, Monospace;

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

<h2 class="red-text">CatPhotoApp</h2>

<img src="" alt="A cute orange cat lying on its back. ">

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Linux; Android 6.0; Hisense U989 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.83 Mobile Safari/537.36.

Link to the challenge:

You need to the .smaller-image class to the image tag.

How exactly?
I have tried everything but still failing since yesterday.

<img class="some-class-name" src="cat.png">

Alright, let me try it

Still failing , after putting that

Okay, so what do you have now?

You only need to add the .smaller-image class to the image the same way as the .red-text class was added to the paragraphs.

.smaller-image" {
<img class="smaller-image" src="cat.png">

This is where am at, and stuck.

I’ve edited your post for readability. When you enter a code block into the forum, remember to precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.


You have to add the class to this image:

<img src="" alt="A cute orange cat lying on its back. ">