How to addition link?

Tell us what’s happening:

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<a herf="https://freecatphotoapp.com">cat photos</a>
<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; rv:85.0) Gecko/20100101 Firefox/85.0.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.

From your code, I’m guessing that your anchor element for cat photos is not working. Make sure everything is spelled correctly, and try again. :slightly_smiling_face:

i wrote code to addition link but the challange not passed

i think every thing is right+i tried more :thinking:

Check the anchor element again, inside the first angled brackets . There is a common typo in the code you posted that would prevent you from passing the challenge.

1 Like

now what i should do? :slightly_frowning_face:

You’ve misspelled “href”. This is a common mistake, and can be hard to spot. Try correcting your code and it should pass the test.

It is my understanding that FCC moderators prefer that we don’t give “spoiler” solutions. You can copy and paste your code into and HTML validator to catch errors such as these, in the future. I’ve included a link to the W3C validator for your reference.

https://validator.w3.org/#validate_by_input

2 Likes

thank you :heart_eyes: