Task is create an anchor element with the existing test cute cats. That links to a website....I can't seem to pass this stage

I can’t seem to know how to turn the existing text cute cats into an anchor element that links to a website

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves cute cats online!</p>
      <p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</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 mobile information:

Infinix X6517 - Android 12 - Android SDK 31

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

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

It seems like you don’t know where to even start. Take a step back and look at Step 13. That lesson teaches you the concept of what you need to do:

" Add p tags to turn See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery. into a paragraph."

To elaborate, anchor elements <a></a> work like this. Whatever text you put between them is a link to somewhere else. It can be another website, or somewhere else on your own website. In the first <a> you put href="" and whatever is between the double quotes is where that link goes to.

Happy coding!

1 Like