Creating a element

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

i don’t know how create an a element that link to something

  **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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

Remove the spaces in the url in the href, then it should work.

hello ! , @medadebe2017
welcome to freecodecamp forum !

you are using spaces while giving value of href
so proper syntax is

<a href="your url"> your text </a>

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