Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
Please send Help. I’m on step 12, and I can’t figure it out for the life of me… How I’m comprehending it, is that the <a anchor should be between the

ex:

<a of course with a closing of anchor

paragraph. However, I need to create a href= for the url to the cat photos. This is what I have

<a href=“Click here to view more cat photos”

Now according to the given information ‘within’ meaning is ‘between,’ yes? I’m asking this because the actual link of freecatphotapp.com can’t be changed. When I delete the <a I’m given a hint to ‘nest’ the attributes(within the p) correctly… I’ve noticed this step has been answered before; but I’m not so sure those situations are the same as mine. Thanks for your help.
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p><a href="Click here to view more 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; CrOS x86_64 14816.131.4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

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

Link to the challenge:

I’m not sure I understand the problem you are explaining but I’ll just give a generic answer and hopefully it will help.

You already turned the words “link to cat pictures” into a link by wrapping them in opening and closing a tags:

<a href="https://freecatphotoapp.com">link to cat pictures</a>

You want to do the same thing to the words “cat photos” in the p element. This is how you turn anything into a link, by placing the a tags around them. I would probably restart the step to get the original HTML back. Then add the a tags around the words “cat photos”. Use the “link to cat pictures” link you created earlier as an example. Notice that the href attribute is set to the URL you want the link to go to.

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