Help pls! I'm having trouble with Learn HTML by Building a Cat Photo App - Step 14

Hello! I’m having some difficultly with step 14 so any help or advice on what I’m doing wrong would be much appreciated!

  1. The hint says "your anchor (a ) element should have an opening tag. Opening tags have this syntax: <elementName> " but I’ve included this already.
    Am I putting it in the wrong place? Where should this go? Or is this because I’ve put href=“” in between it?

  2. Where should I put the href=“” if not between the element tag?

Thank you in advance!

    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a target="_blank" href="">cat photos</a>.</p>
    <elementName href=""> <img src="" alt="A cute orange cat lying on its back.">


There is not tag in HTML with the name <elementName>, its just an example meant to demonstrate to you how tags work.

In this challenge, you need to turn the img into a clickable link, you can do that if you just take the image you have on your webpage and put it under your existing a tag.

Hope this helps! :smile:

Thats not the element for the anchor element.


Ahh right, thank you so much for the explanation!

Ahh right, so it should be an <a> tag?

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