Stage 12 is giving me tough time any advice?

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

  **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   <a href="https://freecatphotoapp.com"></a>.</p>
    <a href="https://freecatphotoapp.com"></a>
    <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.1 Safari/605.1.15

Challenge: Step 12

Link to the challenge:

You have not added any text in anchor element and also you have written two anchor element instead of one.

Correct code-

    <p>Click here to view more <a href= "https://freecatphotoapp.com">cat photos</a></p>

Hello @Benjamin0 ,

Look for the comments i left for you within the codes.

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a href="https://freecatphotoapp.com"> <!-- cat photos text here--> </a>.</p>
    <a href="https://freecatphotoapp.com"></a>  <!-- Delete this line because program throws an error mentioning that "Your document should only have one anchor element." since we used one an anchor tag on line 7, we don't need this one. -->
    <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>

please can i have your mail or number i would want you to put me through

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