Basic: Link to External Pages with Anchor Elements

Basic: Link to External Pages with Anchor Elements
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.">

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

  <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 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0.

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

#2

please help
anchor elements need a destination web address called an href attribute. They also need anchor text. Here’s an example:

<a href="https://freecodecamp.org">this links to freecodecamp.org</a>

Create an a element that links to http://freecatphotoapp.com and has “cat photos” as its anchor text .

error msg
You need an a element that links to http://freecatphotoapp.com

#3

Time for every developers favorite game, let’s spot the typo!

You say you typed in a href="https://freecatphotoapp.com"

the lesson is asking you to create an a element that links to
http://freecatphotoapp.com

Notice the protocol difference between what you typed in versus what was asked for?