I'm stuck at step 12, where is my error?

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

Welcome to the forum

The anchor element needs to nest the target words in the paragraph element.

Please reset the step to restore the original code.

Then place the opening anchor tag before the word cat in the paragraph element.

Then close the new element by placing the closing anchor element after the word photos.

Don’t forget to add the href attribute. Use the link given in the instructions.

Here is an article explaining how to link text and images inside nested elements you may find helpful.

Happy coding

1 Like

Please post a link to the Step. Also, please talk to us about what in the instructions or error message is confusing. Thanks

Mod edit: solution code removed


It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

1 Like

I still don’t see what’s wrong with the code above and how to correct it?

Hi @devanteemanuel0

This is how the code was original rendering in the browser.

This is how your code is rendering.

The words cat photos is missing.
The wrong words were made into a link.

The anchor opening tag needs to before the link words.
The anchor closing tag needs to after the link words.

When you have done it correctly, only the words cat photos will have an underline. This indicates that the text is a clickable link.

Follow the steps I gave earlier, or ask specific questions about things you don’t understand.

Happy coding

1 Like