HTML Cat Step 8

Tell us what’s happening:
Describe your issue in detail here.

The following appears after I check my code:

Test

Sorry, your code does not pass. Keep trying.

Hint

Your img element’s src attribute should be set to ‘https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg’. You have either omitted the URL or have a typo. The case of the URL is important.

However, I am using the exact link that the problem set has provided. As a complete beginner, I have no idea how to proceed.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
    <img src="">
    <img src = "https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.115 Safari/537.36

Challenge: Step 8

Link to the challenge:

Hey Buddy! Just Remove this part, it will work.

Happy Coding :smiley:

Turns out that the image line:

Was not running for some reason.

I copied this code:

https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg”>

And put it inside the “” in:

And I cut out:

<img src = "https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">

Now it works as intended.

Thanks a lot for your help.

And happy coding

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