Learn HTML by Building a Cat Photo App - Step 15

I have no idea what I am doing wrong.
I have read other 's issues trying to solve step 15 (and I’ve tried solving according to the solutions) but I somehow just can’t get the hang of it.
Can somebody please help?

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

    <a herf="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> 

<!-- User Editable Region -->

    </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/120.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

Welcome to the FFC forum. Your code is correct, change your browser and try again.
@mercylinroy

Hey @mercylinroy ,

i believe you accidentally deleted the “.” at the end of “A cute orange cat lying on its back”.
Try adding the dot. Is it working?

Second thing you can try is changing the browser or browser setting like @hasanzaib1389 recommends. I know that Browser Themes like “dark-mode” and Addons like “Add-Blocks” can interfere with the checking algorithms of freeCodeCamp.

Hope I could help!

Greets
Reggi

2 Likes

Thank you, i tried the adding the dot and i changed te browser even. now the preview shows 2 cat pictures :smiling_face_with_tear:

oh, i am currenty using another browser but the preview shows 2 cat pictures now

Mhh weird.
Do you have two “<img” tags in your code aswell ?

i dont think so as it says " You are missing a closing (a ) tag after the image."

Can you copy me your code?

This is quite possibly just a browser issue. I removed the “.” at the end of the alt attribute intentionally & it passed. Your code has it’s closing tag so I don’t know why it would give you that error.

@Reggi

Above the “Step 15” Window you have an other <img Elemnt with an other <a element. Delete that entire sections since you have it twice. You will see one Photo disappearing. Try to submit your code

If that is not working, maybe @Joseph1205 can help you out with some browser setting tipps. Sounds like the problem could be there.

ooh right… the other cat disappeared. its still wrong.
thank you tho

I’ve changed my browser too, and removed additional settings too

i guess i’ll have to restart. sigh

@mercylinroy That’s alright. The step is fairly simple. You can do it!!!

:face_holding_back_tears: :face_holding_back_tears: thank you.
I’ll keep in mind what i understood here

1 Like

One thing I noticed that I haven’t seen anyone else mention is that you had a typo: herf instead of href – this definitely would keep your code from passing even if everything else was correct. (It’s always the first thing I check when images are being ornery!)

1 Like

@m-stanleysk Wow! Even I didn’t notice!