Still getting error a anchor element

Tell us what’s happening:

Your code so far


<a href="">"catphotos"</a>

<img src="" 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/80.0.3987.149 Safari/537.36.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

You are being too literal with the anchor text. When the instructions say

and has “cat photos” as its anchor text.

It is implied that the double quotes are not actually part of the text. You can safely make this assumtion from now on. Also, you left out the space between “cat” and “photos”. Finally, you have changed the URL from http:// to https://.

your genious bbsmooth tq

No, this had nothing to do with intelligence. Part of being a good programmer is paying attention to detail. You’ll learn to catch these things yourself as you get better. Some advice:

  • If the instructions give you specific URLs or other content that needs to be included then use copy/paste to include them. It’s way too easy to have typos if you type everything in manually.
  • If you are getting an error and you think you did everything correctly then reset the code and start over. Chances are you may have unintentionally changed something you were not aware of and resetting the code will fix that. A lot of these challenges are very sensitive to minor changes they weren’t expecting.
  • Read the error messages you are getting very carefully. They are telling you exactly what they think is wrong. If the error message includes the correct URL or other content, then just copy/paste from the error message.
1 Like