Learn HTML by Building a Cat Photo App - Step 10

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

Your code so far

Step 10

You can link to another page with the anchor (a) element. For example, <a href='https://freecodecamp.org'></a> would link to freecodecamp.org.

Add an anchor element after the paragraph that links to https://freecatphotoapp.com. At this point, the link won’t show up in the preview.

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more cat photos in our gallery.</p>

<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

Your browser information:

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

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

Link to the challenge:

Actually, you have the answer to this challenge in the hint above. Add the same code line one more time, but change the URL address to the requested URL - https://freecatphotoapp.com

1 Like

Add a link by using opening and closing <a> tags and put the ‘href’ attribute in the opening tag of your <a> element with the value of ‘https://freecatphotoapp.com’ so that your link will have an address even though it wont yet show up on your page.

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