Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

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

<!-- User Editable Region -->

      <p>See more <A href="http://freecatphotoapp.com"</a> in our gallery.</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/110.0.0.0 Safari/537.36

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

Link to the challenge:

Can you describe your issue with this challenge please? The more you say, the more we can help!

I’ve done the necessary things requested but i couldn’t proceed because of the errors which i can’t deduce

The challenge instructions:

In the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com by adding opening and closing anchor (a ) tags around these words.

Your code:

Where are the words ‘cat photos’?

that was the same thing i inputted and I’m still getting errors

Why are the words ‘cat photos’ missing from your code?

because the instruction was " turn the words cat photos into a link to `https://freecatphotoapp.com"

The word “turn” means to make a change but not delete in this case.

They want the words to become clickable (when you start they are not clickable at all)

You missed the second part of the instruction.

Also you have to be careful with the syntax. This is how you turn text into a link:

<p>Here is some important text to click on</p>
BECOMES...
<p>Here is some <a href="example.com">important text</a> to click on</p>

still having error code

Can we see the code you have now please?

That is almost correct. Your anchor element needs a closing tag too though.

thanks, but I’m still getting the same error

Look at the example I gave you above to show you the syntax. You should have an opening anchor tag <a href="url"> and a closing anchor tag </a>, and the text ‘cat photos’ should be in between the two tags.

yeah, i did that, and that is in the screenshot i sent

This is the code in your screenshot:

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

Your opening anchor tag is missing > and the words ‘cat photos’ are not between the opening and closing anchor tags.

Thanks

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