Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

I’m not sure where I’m wrong.

Your code so far

See more <a cat photos in our gallery.

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

<!-- User Editable Region -->

      <p>See more <a "cat photos" </a> in our gallery.</p>
      <p> <a href="https://freecatphotoapp.com">link to cat pictures</a></p>

<!-- 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/122.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

The challenge asks you to turn the cat photos text into a link by adding an anchor element around the text and set the href attribute to https://freecatphotoapp.com.

you can look at the anchor element in the second paragraph and see what you are missing.

I still don’t see it. I keeps telling me , " The link’s href value should be https://freecatphotoapp.com . You have either omitted the href value or have a typo." but it looks like the href is attributed to the freecatphotoapp

can you send your new code for this line?

See more <a "cat photos" in our gallery.

link to cat pictures

I’ve attempted this multiple times in multiple ways and it keeps coming up wrong. This is what I keep coming back to.

the problem is here, you wanted to create a link using the text cat photos and you used the <a> element which is correct, but there is still some missing parts of the <a> element to work properly, can you guess?

You still can look at the full working <a> element right below the line you are working with to see what parts you are missing.

Here is the one i am talking about you can look at to guess:

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

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