Link to External Pages with Anchor Elements m

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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 OPR/52.0.2871.64.

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

tell us your doubt first:

If its the plain answer you want then

<a href=" http://freecatphotoapp.com">cat photos</a>

is the thing you have to append in your main div
Cheers!

4 Likes

still not working … i try the same but its not working

Post your code in like
```
code here
```

just reply and make sure you add your code in the reply.

<main>
<a 
href=" https://freecatphotoapp.com">cat photos
</a>  
  <img src='//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/freecodecamp/original/3X/6/1/61a3499c5abb165be990aa0c1abd23342e60c663.jpg' 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> ```

is this ok? idk why this is not working…

there’s a key to the left of the 1 on the keyboard. Surround your code with three of those like:
```
your code here
```

Remove the space between " https in the acnchor link and it should work

Thanks you helped me.