Size Your Image - Kitten

Size Your Image - Kitten
0

#1

Hi everyone, I need help on this lesson. I have created the class but still cannot pass the second test which is 100% browser zoom. I have checked my chrome browser setting and it showed 100%. What else is missing? Thanks for your help :smiley:

<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>
<main>
  <p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img class="smaller-image"src="https://bit.ly/fcc-relaxing-cat"  alt="A cute orange cat lying on its back."></a>
  
  <div>
    <p>Things cats love:</p>
    <ul>
      <li>cat nip</li>
      <li>laser pointers</li>
      <li>lasagna</li>
    </ul>
    <p>Top 3 things cats hate:</p>
    <ol>
      <li>flea treatment</li>
      <li>thunder</li>
      <li>other cats</li>
    </ol>
  </div>
  
  <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>
  </form>
</main>

#2

It’s a convention here in the forum to post your code and add a link to the exercise. Can you do that so we can take a better look at what’s wrong?


#3

Hi, apologize and thanks for the reminder. I’ve appended to my post :slight_smile:


#4

Looks like you have too many ending curly brackets. Remove the last two from your style.


#5

I think i’ve found it. My mistake. Wrongly put } :sweat_smile:


#6

Thanks for helping out!