Stuck on "Size Your Images"

Tell us what’s happening:
Even after inputting the correct code for this exercise, the tests fail somehow and won’t let me progress to the next exercise in the course. I triple-checked my code and even found a similar post on the forums that has since been closed. I even tried resetting the code multiple times and trying different variations of placing my class styling and class tags but the tests still won’t show it as complete.

  **Your code so far**

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .smaller-image {
    width: 100px;
  }

  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, monospace;
  }

  p {
    font-size: 16px;
    font-family: monospace;
  }
</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 src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" class="smaller-image" 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="https://freecatphotoapp.com/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>



      **Your browser information:**

User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36</code>

**Challenge:**  Size Your Images

**Link to the challenge:**
https://www.freecodecamp.org/learn/responsive-web-design/basic-css/size-your-images

Ok, so I figured out what the problem was: something to do with Google Chrome. I loaded the same page in Edge browser, put the same code in as I did before, and this time the tests worked!

You guys might want to check on whatever is causing the tests to error in Chrome. Maybe it was an extension I had active in Chrome that wasn’t in my Edge that was conflicting or something. I did double-check that my browser zoom was set to 100%.

Your code looks good, couldn’t find any errors

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.