Change the size, double photo

Tell us what’s happening:
sorry guys for my questions, wanted to know why after adding codes, create another smaller photo ? but codes r right . I passed it .

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;
<img class="smaller-image"src="">
<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."></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_13_1) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5.

Challenge: Size Your Images

Link to the challenge:

The reason you have 2 photos is because you have 2 different <img> elements in your solution.

Edit: Make sure that you add the class to the existing <img> element instead of adding a new one.

1 Like

This seems like a bug. Thanks for bringing this up.
I have informed it to the maintainers.

1 Like

perfect,thanks to u!

1 Like