Learn HTML by Building a Cat Photo App - Step 4

Tell us what’s happening:

I think I WAS CODE CORRECTLY BT THE OUTPUT WAS NOT DISPLAY

Your code so far

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

<!-- User Editable Region -->

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

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 4

It looks like you have accidentally commented out the entire code.

When you comment out code, then the content will no longer display on the page.

I would suggest resetting the lesson.

The lesson wants you to add a comment above the p element with this text:

TODO: Add link to cat photos

Here is another example of a comment in HTML

<!--this is an HTML comment-->

once you fix that, then the test will pass

Tell us what’s happening:

I had code correctly bt the output was not done.Please give me reference

Your code so far

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

<!-- User Editable Region -->

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

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 4

You need to fix two things to pass.

First thing, is to make sure your comment is above the paragraph element

Right now you are placing it below

you need to switch the order.

the second issue is that you need to remove the <p> tags here

take a look at my example again for correct syntax

once you fix those things, then the test will pass

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