Size your Images 100px

Size your Images 100px
0

#1

Tell us what’s happening:

Size your Imagesr

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<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 src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. "class="smaller-image">

<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 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0.

Link to the challenge:


#2

Are you missing a space before class?


#3

Your image should be 100 pixels wide. Browser zoom should be at 100%.


#4

I’m going through a course, and I can not understand the error. and she is so, which I wrote above


#5

And I’m suggesting that you check that all your "s and spaces are right. If so, try resetting the challenge and submitting again.


#6

To help the ones that are struggling. I struggled for 15 minutes trying to figure it out. Then “Pow” it hit me like a ton of bricks!! Good Luck guys and gals!
(I noted the important parts and why)

**** .smaller-image{ width: 100px; } .red-text { color: red; }

h2 {
font-family: Lobster, Monospace;
}

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

CatPhotoApp

                                         **<!-- See below for referencing the class above-->**

A cute orange cat lying on its back.

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.


#7

To help the ones that are struggling. I struggled for 15 minutes trying to figure it out. Then “Pow” it hit me like a ton of bricks!! Good Luck guys and gals!
(I noted the important parts and why)

**** **.smaller-image{** ** width: 100px;** ** }** .red-text { color: red; }

h2 {
font-family: Lobster, Monospace;
}

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

CatPhotoApp

                                         **<!-- See below for referencing the class above-->**

<img class=“smaller-image” src=“https://bit.ly/fcc-relaxing-cat” alt=“A cute orange cat lying on its back.” >