I'm confused on how to understand what to do with the "src" thing connected with img element

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

  **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>
    src: https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg <img> 
     
  </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/102.0.0.0 Safari/537.36

Challenge: Step 8

Link to the challenge:

Hi @nyxyey ,

Look at the example given in the instructions :

<img src="https://www.your-image-source.com/your-image.jpg">

img is the HTML element and src is the attribute, it specifies the path to the image.

The <img> tag has two required attributes: src and alt.

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