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
im not sure how to write the comments

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

<!-- User Editable Region -->

    <!-->TODO: Add link to cat photos</-->
    <p>See more cat photos in our gallery.</p>
    

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36

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

Link to the challenge:

You are close, you just added a few extra characters. The beginning of the comment should start with just <!--. There should be no closing >. Likewise, the end of the comment should start with just -->. There should be no opening <.

Look at the example in the instructions:

<!-- TODO: Remove h1 -->
1 Like

after typing still the comment is showing i a should insert comment

Welcome to the forum!
As bbsmooth mentioned, there are a few extra > < in the code provided.
bbsmooth provided a very good example, too.

Below I have provided an example for you too see the code comment layout.

Compare the above to what you are doing and see if you notice the extra > < in your code provided.
If you are still having issues, you may wish to try submitting it in a different browser, or make sure that an extension on your browser may not be the issue.
I have found both of these issues, at times, when I submit the correct code, but my browser or extension cause a false failure. I was successful with a different browser, or by disabling my extension.
Happy coding!

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