Href topic please

Tell us what’s happening:
Describe your issue in detail here.

i dont understand when it say You need an a element that links to
Your code so far

<a href="">cat photos</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/99.0.4844.84 Safari/537.36

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

A link is created in html via an anchor (a) tag. Anchor tags have an href property. The value of the href property is the url that it links to. If I wanted to create a link like this:


the html would look like:

<a href="">Google</a>

Anchors are the elements that link to a page. So, the element you added is correct.

But the value of its href attribute is wrong. It should be instead of so as to pass the test!

1 Like

thanks i noticed the mistake

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.