Size your Images Browser zoom has no effect

Size your Images Browser zoom has no effect
0.0 0

#1

Tell us what’s happening:

I have tried every zoom size from 50% all the way up to 200% and i can not pass this. It says that I have my class in my img element but the second task of making the image 100 pixel fails me. I feel like it is a browser issue but I have tried with Chrome, Firefox, Edge, IE and had no luck.

Your code so far

<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 class="smaller-image" src="https://bit.ly/fcc-relaxing-cat" 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>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299.

Link to the challenge:


#2

There’s a syntax error in the CSS. width= should be width:


#3

Hi,
In CSS, I don’t remember using =. It is usually a colon instead ( : )


#4

Sorry. I was trying to help while waiting for an answer to my question.


#5

No problem :slight_smile:


#6

Thanks lol knew it was going to be something simple. To much python recently not used to these colons yet.