Step 14 missing something

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

  **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"></p>
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."><a target="_blank" href="https://freecatphotoapp.com">
  </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/102.0.5005.62 Safari/537.36

Challenge: Step 14

Link to the challenge:

I am trying to solve this step I tried all different ways nothing I am something missing!?

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

What seems to be the issue? Any error messages? Something you don’t understand? The more info you give, the better we can help.


It looks like you only have an opening anchor tag. What about content? Or the closing tag?

I get this error message which I can not figure "You should add one opening anchor (a) tag. "I removed one and integrated into (img) tag one the same shit… Is something missing here or I am stupid lmao :joy:

Ehh, I think it’s just an odd lesson test. It’s not wrong, it’s just kinda misleading. It looks like you removed your previous closing tag here:

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

along with the text “cat photos” and this is throwing off the lessons tests. Currently I’d hit the “Reset Step” button to fix that and then go on with the challenge. The step wants you to nest your <img> in anchor tags, so that it becomes a link as well.
You can nest an <img> in <a> tags just as well as you can nest an <img> in <main>. So something like:

<a href="whatever_url">
  <img src="whatever_src">
</a>
1 Like

Thank you! I got it what you mean you need to nest or “incorporate” an <img> tag to and <a> now I got it.

1 Like

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