Learn HTML by Building a Cat Photo App - Step 12

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

Hello,

I’ve searched for a couple of answers to avoid having to ask on the forum, and I thought my code looked good, but It seems I’m missing something. Can someone take a look? I’m attempting to wrap the “a href” attribute around “cat photos.” to create a link.

Thank you in advance.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <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>
      <a href="https://freecatphotoapp.com">link to cat pictures</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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36

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

Link to the challenge:

please solve this question

Welcome to our community!
The instruction says: “… turn the words cat photos into a link…” But not the dot at the end of the sentence:

<p>First part of the text <a href="URL">cat photos</a>.</p>

As you can see the dot goes between the closing ‘a’ and ‘p’ tags.

This solved my problem, thank you for your help!

1 Like