Step 14 Learn HTML by Building a Cat Photo App HELP

Tell us what’s happening:
Describe your issue in detail here.
Hi guys, I need help with understanding this. I have tried many solutions to solve this step, Step 14, Learn HTML by Building a Cat Photo App and I fail to do so and I keep recieving this hint, Your anchor (a ) element should have an opening tag. Opening tags have this syntax: <elementName> . This is what I have done so far…

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

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14816.82.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Step 14

Link to the challenge:

The challenge wants you to convert the image into a link by wrapping the img tag with an ancor tag like so:

<a href = "">
  <img src = "">

So are we to remove the <a from in front of target?

Not necessarily, the order in which target and href are placed don’t really matter the ancor tag still works either way.

1 Like

Thank you! I was able to figure it out.

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