Learn HTML by Building a Cat Photo App - Step 11

Tell us what’s happening:

How do I fix this anchor elements, please help me, I’m new to this

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves cute cats online!</p>
     

<!-- User Editable Region -->

      <a href="https://freecatphotoapp.com">click here</a>

<!-- 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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 11

here is the genearal syntax for elements

<opening-tag attribute="value">
other stuff like text , images, and other elements  go here depending on what the tags are
</closing-tag>
  • attributes go inside the opening tag
  • proper syntax is usually having a opening tag and a closing tag that have < and >

Question:
Do you know what the purpose of anchor element is and what it does to text?

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