Learn HTML by Building a Cat Photo App - Step 8 of the attribute isn't loading right, shows an error, help

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

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>
      <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 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0

Challenge: Learn HTML by Building a Cat Photo App - Step 8

Link to the challenge:

can you fill in detailed info ?

Welcome to our community!
You have the closing angle bracket after ‘img’ at the beginning. Delete it.

I was having an issue with this
src=“https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg”>
I just found the right way of doing it below here :point_down:

<img src=…

Thank you DobarBREND

2 Likes

The W3C Markup Validation Service, can be useful to catch HTML issues or start using VSCode

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