Learn HTML by Building a Cat Photo App - Step 10

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 cat photos.</p>
<a href="https://freecatphotoapp.com."> Free Cat Photo App </a>
<br>
     <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 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

Challenge: Learn HTML by Building a Cat Photo App - Step 10

Link to the challenge:

Hi, welcome to the fCC forum.

Please describe your issue in your own words.

Asking a good question is a good skill to have in your learning journey.

1 Like

sorry but I am new and I have not put the question in this topic. I republished it correctly. thank you anyway and I didn’t understand what was wrong with my code because I stopped at step 10 of web developer. I can’t put the link correctly.

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

what am I wrong in the code?

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.
         <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 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

Challenge: Learn HTML by Building a Cat Photo App - Step 10

Link to the challenge:

I see you started out with the anchor tag in the correct place, but then you decided to close it after the img element? I’m not sure why?

Also the link should not end with a period - the last letter is m not .

1 Like

you are right i think i was wrong but i am still beginner in code. Should I then remove the link from inside the image field?

no please don’t touch the img at all (they didn’t ask you to).

I was referring to this:

website links should not end with a dot (period)

Also I was saying you need to move the closing tag for your anchor element
(it is not where they asked for it to be)

1 Like

btw. I noticed that you opened a few duplicate topics. Please always respond back to the same topic when posting new code or to ask for further help (instead of opening a new topic about the same step)
Thanks.

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