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

    <h2>Cat Photos</h2>
    <!-- <p>Click here to view more cat photos.</p> -->
    <a href"#"">to cat photo</a>

Your browser information:

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

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

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

You attempted to add an anchor element to the HTML when the instructions did not ask you to. Is there a reason you did this? You should only do exactly what the instructions ask and no more. Changing anything else will most likely cause the tests to fail.

I would restart the step to get the original HTML back. Then, the only thing you want to do is add the comment above the p element. The text of the comment should be TODO: Add link to cat photos.

hello and welcome to fcc forum :slight_smile:

lets look at instructions and see what they are saying with an example of a “comment”

For example, the comment <!-- TODO: Remove h1 -->

now that you know hoe comment is “written” in html, now lets look at what “step 4” wants you to do

Add a comment above the p element with this text:
TODO: Add link to cat photos

now with these informations try and “fix” it, ill recommend “restart” and apply those in that, happy learning :slight_smile:

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