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

Tell us what’s happening:
this is right from the video and doesn’t seem to work?

Your code so far


<h2>CatPhotoApp</h2>
<a href ="https://frecatphotoapp.com"</a>
<a href ="https://frecatphotoapp.com">here's a cat photos</a> 
<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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

There are a couple things with your code.

  1. Check your links again. There are two typos

  2. The instructions on FCC are very specific and don’t always allow for variation. Your link should read “cat photos”. It will not pass with “here’s a cat photo”

**This isn’t an error per se, but you don’t need the first link.

1 Like

You are using https and have 1 typo:

"https://frecatphotoapp.com"

Should be:

"http://freecatphotoapp.com"
2 Likes

Welcome @doss.dan,

This coding platform is very specific. You need to use what is provided to you verbatim.

Your a element should have the anchor text of “cat photos”.

The instruction states to use cat photos in your anchor tag; you have here's a cat photos. This fails the test.

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

You have https://frecatphotoapp.com which is not http://freecatphotoapp.com. This also fails the test.

Your a element should have a closing tag.

This test was done perfectly, however there was no instruction for adding two <a> tags so I would get rid of the first one.

Now for something I am going to nitpick on. When you are coding, it is good practice to focus on your spacing/tabbing. Notice that <img src=" does not have unnecessary spacing whereas the <a href =" tag that was made has extra spacing between href and =. Keep your formatting consistent/clean throughout so that it is easier for another coder to be able to read it quickly as the code base becomes larger.

2 Likes

I think I’m crazy and I’m about to reset the code. It’s still not going through… keeps saying the same thing… and, I’ve refreshed, etc…Thank you for the above, and I do appreciate the “nitpick” details!

I got it! Thanks again!