Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
I dont understand where to put the link and words “cat photos”
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

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

<!-- User Editable Region -->

      <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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.47

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

Link to the challenge:

I would reset the step to get the original HTML back.

Look at how you created the link below the p element. You turned the words “link to cat pictures” into a link by putting an opening a tag before those words and a closing a tag after those words. That’s exactly what you want to do to the words “cat photos” in the middle of the p element.

The only thing you should do is add one opening a tag and one closing a tag. Do not make any other changes. And of course, you need to add the href attribute on the opening a tag.

So this step is telling you to convert a text into a link.
And to do so you need to put it into anchor tag.

Here you need to wrap your cat photos into an anchor tag.
So that text will convert into a link.

<p>I am coder<a href="link">Hello world</a></p>

See how we just converted our Hello World into a link.

Hope you understand.

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