Learn HTML by Building a Cat Photo App - Step 8

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"</src>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0

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

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

You didn’t really ask anything but the image tag is self closing and the src attribute should be inside the image element. Like this:

<img src=“link to image”>

You will probably need an alt attribute at some point too in case the image fails to load so:

<img src=“link to image” alt=“description of image”>

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