The anchor lesson

I did the correct link but it still didn’t work.
Can you tell me what i did wrong or is there an error.

<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 <a herf="https://freecatphotoapp.com">cat photos</a> 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/85.0.4183.83 Safari/537.36.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Instead of sticking your anchor tag at random in the middle of the second paragraph, try putting it in the space left for you under the opening main tag.

Also there’s a typo in the href attribute.

<a herf="https://freecatphotoapp.com">cat photos</a>
1 Like

never mind thanks for helping me