HTML tutorial step 14

Tell us what’s happening:
May I know whats going wrong for the step 14? it seems I’ve followed the instruction but fails to continue

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
    <a href="https://freecatphotoapp.com"> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."> <a/>
  </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/96.0.4664.110 Safari/537.36

Challenge: Step 14

Link to the challenge:

your anchor closing tag is wrong. remember closing tag is like this </a>
but a self-closing element like input would be like this <input /> without a closing tag just one tag

1 Like

actually his code is fine with this, it doesnt matter which attribute comes first inside the elements whether its id or class or type or href or target.
that’s just your preference how you wanna order them

he’s having a problem with the task after this, please read the forum carefully so you wont confuse him more.
and please don’t just type the answer, it’ll be better for them to find it on their own just explain what you see wrong and let them do it

2 Likes

yeahh. I did it much thanks for your quite response

2 Likes

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