Size your Images Issue

Hello all! I have been reading the Forum simply called ‘Size your Images’, trying everything in the comments, and nothing is working. It still says I am incorrect. I have my browser zoom set at 100% as well… Any help please?

<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;}

<h2 class="red-text">CatPhotoApp</h2>
  <p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>
<a href="#">
  <img class=“smaller-image”
  src="" alt="A cute orange cat lying on its back.>

Link to the challenge:

When you want to include code in a forum post, please add it as text, precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it 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.

Note: Backticks are not single quotes.


1 Like

Take a look at your image’s alt attribute :eyeglasses:

Remember, the value of an attribute should be surrounded by double quotes :thinking: