Changing the size of an image

Changing the size of an image
0.0 0

#1

Hi,

I still keep getting an error “Your img element should have the class smaller-image.” I can’t figure out what is wrong? I have added the image class

Your code so far

<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }
  
  .smaller-image {width: 100px;}
  
</style>

<h2 class="red-text">CatPhotoApp</h2>
 
<img class="smaller-image"src=“https://bit.ly/fcc-relaxing-cat7” 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>```

#2

Try to fix spacing, and see if it passes the test