Link to External Pages with Anchor Elements>help needed

Link to External Pages with Anchor Elements>help needed
0

#1

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/


#2

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.


#3

I am learning not hacking dude


#4

Press control and click on the link
It should take you to the link I posted on my script. It is right


#5

this is your code, right?


#6

Yeah, it is mine…


#7

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 .


#8

OK, but I don’t know how to do that. May you help me please


#9

Ok.

In the href attribute the link should be http://freecatphotoapp.com like the challenge says.
and the text should be “cat photos”.


#10


#11

Is this what i had to do sir.


#12

change https://freecodecamp.org to http://freecatphotoapp.com.
and ‘this links to freecodecamp.org’ to cat photos.


#13

I got it, thanks sir it really helped me


#14

Glad i helped :grin: