"That Links To" http://freecatphotoapp.com

Tell us what’s happening:
It says “You need an a element that links to `http://freecatphotoapp.com” and so I keep trying different methods but the internet keeps saying that it’s wrong. I don’t know what they mean by creating an ‘a’ element “that links to.” That’s where I struggle with the most. I’ll never be good at this but I want to be. How do I do this?

Your code so far

  <a href="https://bit.ly/fcc-relaxing-cat"</a>This links to cat photos<a>"https://freecodecamp.com"</a>
And they say it's wrong!!
<h2>CatPhotoApp</h2>
<main>



<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
<a href="https://freecodecamp.com"</a>
<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>
<a href="https://bit.ly/fcc-relaxing-cat"</a>This links to cat photos<a>"https://freecodecamp.com"</a>

Your browser information:

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements

An a element is the same thing as an anchor element. You currently do not have the correct syntax for an anchor element. An anchor element has an opening tag and a closing tag and some text in the middle of the two. The opening tag has something in it that allows you to link to something else.

I am still struggling with this part and I don’t know how to get the correct syntax.

What actually “https://freecodecamp.com” means for you in this line? You already have external link that open cat photos (“https://bit.ly/fcc-relaxing-cat”).

remove s from https

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