Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
I don’t understand what is required of me in step 12

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more cat photos in our gallery(a).</p>
      <a href = https://freecatphotoapp.com</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.">

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

You need to turn the words “cat photos” in the middle of the p element into a link. You do this the same way you turned the words “link to cat pictures” into a link in previous steps, by wrapping them in an anchor tag. In other words, you put an opening a tag before the words and a closing a tag after the words.

I would reset the step to get the original HTML back. 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 will want to add the href attribute to the opening a tag.

1 Like

You have to close this tag a>

I’m having a hard time solving step 12. This is what I have:

See more <a cat photos in our gallery.

<a href=“https://freecatphotoapp.com

I have tried many times. I logged out and back in to no avail. Suggestions are welcome!

If I were you I would put this at the end >

thanks a lot. I have gotten it

1 Like

Thanks a lot Bruno. For some reason the text I paste is cutt off. I hav the closing tag.
Let me try to paste here

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

Still the info is cut off

well that’s just missing haha

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

You opening a tag here has no >

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