Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
hey there im kinda stuck so i think i understand im suppose to be adding the (a) element to the (p) element to nest it to the "cat photo
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">cat photos </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; CrOS x86_64 14989.107.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

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

Link to the challenge:

Do you see that second line I quoted? That is a properly formed link or anchor element.

So first step is, make your anchor tag code look like that second line. (Pay attention to the details like brackets quotes equals spaces etc)

Make sure the final result of your work makes the text show up as a link similar to below:

Click here to view more cat photos.

1 Like

that still did not work ive put the a element just like so and it still says its not tied to cat photo

I can take a look if you’d like to post your new code?

Compare to

One of these is a correct anchor element.

okay i was over looking such a minor detail thank yall!

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