Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:

Describe your issue in detail here.
so i feel like there is a bug, I don’t see any typos and I completed the exercise. let me know if I’m missing something please…the image became a link. I don’t know what more it want lol

Your code so far

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

<!-- 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/109.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Welcome to the forum @stephensonscotty

The opening anchor tag is missing a closing angled bracket.
The closing anchor tag needs to go after the image element.

Happy coding

If i alter it in any way the picture goes away or ceases to be a link the way i have it now i can click on the picture and I’m given a message saying “normally this would take you to a website, It worked!” or something like that but then i hit check code and it tells me to move my closing angled bracket to the end of the image so i do and it just makes my Alt description the link…why would it work if i did it wrong…triple checked spelling…

Please post you full code so the forum can assist.

hopefully you see what I’m doing wrong from this

CatPhotoApp

Cat Photos

See more cat photos in our gallery.

<a href= "https://freecatphotoapp.com" A cute orange cat lying on its back.

Welcome to FCC forum, I got you, Close off your first <a> with a > and then move your </a> right at the end after the <img> tag, Then your img will become a link wrapped in
<a></a>, Hope this helps if it did i would appreciate a like as i am new here trying to become established, happy coding.

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