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

      <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>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

HTML attributes are special words used inside the opening tag of an element to control the element’s behavior. The src attribute in an img element specifies the image’s URL (where the image is located). An example of an img element using an src attribute: <img src="https://www.example.com/the-image.jpg">.

Inside the existing img element, add an src attribute with this URL:


notice the use of double quotes here?
You need double quotes around the src value

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