Learn HTML by Building a Cat Photo App - Step 4

Tell us what’s happening:
Describe your issue in detail here.
How to link to cat photos
Your code so far

    <h2>Cat Photos</h2> 
    TODO: Remove hi
    <p>See more cat photos in our gallery.</p>
</html> <TODO: Add link to cat photos/><p>

Your mobile information:

Infinix X688B - Android 11 - Android SDK 30

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

Link to the challenge:

Hello @Rulu1 Welcome to our forum.
When adding HTML comments, you place the text to be commented out in the sighs.

<!-- Write your comments here -->

This link will help.

1 Like

You seem to have some stray content on your page,
follow the instructions and place comment in the appropriate position and remove unnecessary words like

And then nest the words cat photos into an a tag

<p><a href="link">link text</a></p>

Hope it helps

1 Like

@Rulu1, welcome to the freeCodeCamp community!

I recommend resetting the challenge by clicking the reset button near the bottom of the code in this challenge. The reason I recommend this is because the complexity that you have added to the code can make this challenge unnecessarily harder. After resetting the challenge, you will only have to write an HTML comment between the ‘h2’ element and the ‘p’ element.

The end of the instructions reads:

Add a comment above the p element with this text:

TODO: Add link to cat photos

An HTML comment should be written with an opening <!-- followed by a space (for convention (convention here means the acceptable way that HTML comments are written)) then the content of the HTML comment followed by a closing -->.

Above the ‘p’ element, write this HTML comment <!-- text --> but for the content of the comment, write TODO: Add link to cat photos instead of text.

Happy Coding!

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