Learn HTML by Building a Cat Photo App - Step 12

I’ve been sitting here looking at the code for 30 minutes confused, but at the same time happy I’ve made it this far.

  **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">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/14.1.2 Safari/605.1.15

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

Link to the challenge:

hi Lydia,

Isn’t coding fun? Great work on getting this far.

looking at your code so far now (and pasting here for ref):

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

I mean, that’s already good. You have the start of an anchor tag created.
Now, where should the end go? (the anchor tag should have a start and an end, to remind you of what the end part looks like, recall it is like this </a>)

Also you will need to add back the period that was at the end of the sentence “Click here to view more cat photos.”
You can do that once you’re done with the anchor tag though.

I can’t figure out what I’m doing wrong I have my end tag to my anchor.

  **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"> cat photos</a> </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/14.1.2 Safari/605.1.15

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

Link to the challenge:

hi Lydia,

I moved the duplicate topic into your older topic to maintain chronology. (To keep the forum searchable we try to avoid duplication of topics by the same user)

Thanks for your understanding.

This looks pretty close to correct but there is an extra dot on the left of the starting anchor tag, and a missing dot on the right of the closing anchor tag. You may also need to be careful with spaces (the link should be around the words cat photos without any extra spaces.

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