Cat resizing img, what have I done wrong?

<link href="" rel="stylesheet" type="text/css">

 .small-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="small-image" 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="/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>

Could you detail your problem? The way you posted this confusing.

@Jays_Query I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate 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.

Note: Backticks are not single quotes.


For future challenges, just click the Get a Hint button when you have a question regarding a challenge and/or the code you have written for a challenge. This will automatically format the code, so you don’t have to add the backticks.

I have the vague memory that the class name should be smaller-image
Could you post the link to the challenge so we can see what the challenge actually asks?

Thank you for the correction my screen is so small i couldn’t really see what it wanted me to change to post my problem in the forum.

your entirely right it’s smaller-image not small-image, thanks for the help it’s very appreciated. i must have been stuck on that one for longer than it took me to do everything leading up to it.