Link to External Pages with Anchor Elements - Help!

Tell us what’s happening:
Hi, I am a total new beginner and I am stuck at the Link to external pages with anchor elements. I have read all the previous comments, googled and can not figure out where my code is wrong… I need help!

Your code so far


<h2>CatPhotoApp</h2>
<main>

<a href=https://wwww.freecatphotoapp.com> Cat photos </a>

<img src="https://bit.ly/fcc-relaxing-cat"alt="A cute orange cat lying on its back."> 

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
 <p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>

Your browser information:

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

  • first, you need to wrap the attribute value in quote, so it would be something like href="..."
  • second, you need to have an anchor element that links to http://freecatphotoapp.com, you have written something similar but different, if you don’t make it equal to this, you can’t pass the tests
  • third, you are asked to create an a element with text cat photos, you have written Cat photos, that can be important to make the tests pass
1 Like
  1. for the links, you have to add the quotations - " "
  2. in your link there were 4 “wwww” so that prolly affected the link.

Thank you! This helped and now I have passed :slight_smile:

1 Like

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.

Thank you for understanding.

Oh my apologies, from a learning perspective that was not helpful of me. I understand that now. will remove my solution and avoid giving out direct solutions in future discussions. Thanks for letting me know!