Learn HTML by Building a Cat Photo App - Step 12

Thank you for your time in helping me. My hint is saying
Your code should only contain one anchor (a) element. Remove any extra anchor elements.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.
    <a href="https://freecatphotoapp.com">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.">
  </main>
</body>
</html>
  **Your browser information:**

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

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

Link to the challenge:

(post deleted by author)

I was also stuck but I found out what you need to do.

Basically you need to write the code like this

Click here to view more – cat photos

make sure you remove the dot after cat photos and you also need a closing anchor for it to work.

Hope this helps.

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