Hello world can anyone help me as i am stuck for hours with this matter

Tell us what’s happening:

Your code so far

<a href="http//cat photos.org"> this links to https://freecatphotoapp.com</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>

Your browser information:

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

There is an unnecessary space in your href link, and also it is a wrong one, no website is being loaded when using that URL.

Hey there everything looks great!..but after looking at the question it seems you have mixed 2 things up. The last part of the questions says this:
Create an a element that links to https://freecatphotoapp.com and has “cat photos” as its anchor text.

Currently you have “http//cat photos.org” as your “a” element and https://freecatphotoapp.com as your anchor text.

Hope this helps! :slight_smile:

I believe the problem is the space you put in the href
try this:
<a href="http//catphotos.org"> this links to https://freecatphotoapp.com</a>

Hi, @plidia.
In real life it will work as long as you add : to “http://” and remove the space in"cat photos.org"
but this is a tutorial and you need to enter exactly what the question tells you, in order to go onto the next lesson.

When you run the tests, you have probably seen this on the screen. It will tell you which parts are to be fixed.

It basically says

  1. you need to enter the correct anchor text (text that is sandwiched between <a href=> and </a>)
  2. You need to enter the correct URL (after href=)
  3. You have </a> in your code . Good.
1 Like