Learn HTML by Building a Cat Photo App - Step 4

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

Your code so far

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>

<!-- User Editable Region -->

    <!-- TODO: add link to cat photos -->
    <p>See more <a href=" https://freecatphotoapp.com/">cat photos</a> in our gallery.</p>
    <img src="https://s3.amazonaws.com/freecodecamp/relaxing-cat.jpg"
    

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5.2 Safari/605.1.15

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

Link to the challenge:

You need to remove both user editable region comments, and then you need to add back the > at the end of your img line

It looks like you have a lot of extra code in here that doesn’t need to be here.

I would suggest resetting the lesson and making sure to only add the comment tag.

hope that helps

2 Likes


I reset the lesson and rewrote it, but the same errors

Hello @ElMehdi02 Can you share you code please. It might be easier to look at the code then the screenshot.

1 Like

It still looks like you have a lot of extra unnecessary code

Why are you adding an image element?
And the see more cat photos paragraph and link?

If you working on step 4, then this should be your starting code.

<p>See more cat photos in our gallery.</p>

Above the paragraph element you should add your comment tag.

Hope that helps

1 Like

Thank you so much, it works.

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