Tell us what’s happening:
Your code so far
<h2>CatPhotoApp</h2>
<main>
<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>
<a href="https://freecodecamp.org">this links to freecodecamp.org</a>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements/
the challenge says:
Create an a
element that links to http://freecatphotoapp.com
and has “cat photos” as its anchor text
.
your href link is wrong, and your anshor text is not cat photos.
read carefully next time.
keep hacking.
I am learning not hacking dude
Press control and click on the link
It should take you to the link I posted on my script. It is right
this is your code, right?
the code i highlighted in yellow is where the problem is.
the challenge is asking you to:
Create an a
element that links to http://freecatphotoapp.com
and has “cat photos” as its anchor text
.
OK, but I don’t know how to do that. May you help me please
Ok.
In the href attribute the link should be http://freecatphotoapp.com
like the challenge says.
and the text should be “cat photos”.
1 Like
Is this what i had to do sir.
change https://freecodecamp.org
to http://freecatphotoapp.com
.
and ‘this links to freecodecamp.org’ to cat photos
.
I got it, thanks sir it really helped me