Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:
Describe your issue in detail here.
My img code won’t work with the src attribute can you help???
Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>

<!-- User Editable Region -->


<!-- User Editable Region -->


Your browser information:

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

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

Link to the challenge:

HTML attributes are special words used inside the opening tag of an element to control the element’s behavior.

<a href="value">Hello World</a>

In this example href is the attribute and has a value.

In your task, you are supposed to add src attribute to the element <img> and URL of (https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg)
Like this: <img src="URL">

Reset your code and start

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