Learn HTML by Building a Cat Photo App - Step 10

Tell us what’s happening:

You can link to another page with the anchor (a) element. For example, 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.
Can you help me how I can put it , because I tried a lot but there is error of element name .

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      

<!-- User Editable Region -->

      <p>See more cat photos in our gallery.</p>
      < h3 Cat photo web href='http://freecatphotoapp.com'></Cat photo web>
      

<!-- 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.">
      
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Mobile Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 10

Hi,
You add a link with a tags like this:

<a href="Your link address">Your text</a>

also
make sure to close the <h3> tag the right way.

1 Like