Element Name issue

Tell us what’s happening:
Describe your issue in detail here.
Your anchor ( a ) element should have an opening tag. Opening tags have this syntax: <elementName> .

  **Your code so far**
  <p> Click here to view more Cat Photos <a>"https://freecatphotoapp.com"</a></p>

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p> Click here to view more Cat Photos <a>"https://freecatphotoapp.com"</a></p>
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36 Edg/101.0.1210.53

Challenge: Step 14

Link to the challenge:

Hey there! Welcome to the forums :wave: :slightly_smiling_face:

Turn the image into a link by surrounding it with necessary element tags.

Did you do this part? It looks like you haven’t added these.


On another note, I’d look at your previous anchor:

<a>"https://freecatphotoapp.com"</a>

The link you what to use should be the anchor tags href attribute, not the text between the two tags.

<a href="url_link_you_are_using"> Link text </a>

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