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
how to 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 -->
      <p>Click here to view more cat photos.</p>
      <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 OPR/91.0.4516.65

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

Link to the challenge:

hi there, welcome to the forum.
Take a look at this code:

<a href='https://freecodecamp.org'></a> 

The top line is your attempt to make an anchor tag (I copied it from your code)
The bottom line is the example provided to you in the exercise.

Do you see the differences?

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