Sizing images. No error or allowed to continue!

Sizing images. No error or allowed to continue!
0

#1

Tell us what’s happening:
I’m not getting any error messages nor am I getting any indication that the code is correct. Has this happened to anyone else?

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;     
  }                           
</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.  <style> .smaller-image { width: 100px; } </style>.
       ">
<style>   
<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 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36.

Link to the challenge:


#2

@trap1 Take a look at this line. That style element isn’t supposed to be there. Let me know if you need any help figuring out where it’s supposed to be instead. :slightly_smiling_face:


#3

In addition to what @camper pointed out, you also have a single <style> on the line above the first p element. There should be no style tag here.


#4

@camper, thanks for responding, I have tried putting the class several places trying to get an error msg. but I did not get one. That’s one I forgot to remove. Yes, any help completing this would be greatly appreciated.


#5

@randelldawson, Thank you, I have removed it and finally received an error! I have created the image class and working on getting the pixels set to 100. Thanks again!


#6

@trap1 Cool. The other thing to pay close attention to in the line of code I mention above is the smaller image and smaller-image names of the class. This happens to me all the time and can sometimes be difficult to find since the one-character difference like this is tiny compared to a wall of code we typically work with. If you haven’t solved this yet, try fixing that and see where it gets you.

If you haven’t solved it after this, post a link to your code in CodePen so we can help more.