Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:

src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/ brown cat drinking milk-cat.jpg
help am stuck what am i doing wrong

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more cat photos in our gallery.</p>
      <img> src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/ brown cat drinking milk-cat.jpg

<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 8

Hi there. Welcome to fcc community.

Let’s compare the example code with yours:

<img src="https://cdn.freecodecamp.org/platform/universal/fcc_secondary.svg">

As you can see, the attribute src and its value must be inside the img tag.

And the value of src attribute must be put inside a double quotes ("")

And you should copy and paste the link of the photo instead of typing it yourself to avoid typos.

2 Likes