Hi! I need help for step 14

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

So, I’ve been trying to figure it out where is the problem with my code but I think its okay. I already restarted a couple of times and I still can get the problem correct.

Can someone help me to find the error or to explain me the solution…

After I checked my code this is what it says:

Hint

Your anchor ( a ) element should have an opening tag. Opening tags have this syntax: <elementName> .

  **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 cat photos. </p>
    <a href="https://freecatphotoapp.com" target="_blank">
    <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/101.0.4951.67 Safari/537.36

Challenge: Step 14

Link to the challenge:

You seem to have remove the first link, it need to stay.

<p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>

You can paste it back in or reset and do it again.

I’m still getting this:

Hint

Your anchor ( a ) element should have an opening tag. Opening tags have this syntax: <elementName> .

<p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos.</p><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

I need to see your current code.

I think it might be easier to just restart the challenge. Keep everything as is in the starting code and only add the new link.

Edit: You have combined the two.

They should be two separate links. One is inside the p and one should wrap the image.

Oh okay okay, let me try.

Edit: Thank you, it worked!.

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