Link to External Pages with Anchor Elements m

Link to External Pages with Anchor Elements m
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>

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


#2

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!


#3

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


#4

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


#6

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


#7
<main>
<a 
href=" https://freecatphotoapp.com">cat photos
</a>  
  <img src='//discourse-user-assets.s3.amazonaws.com/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> ```

#8

is this ok? idk why this is not working…


#9

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


#10

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