Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Where to place /main?

  **Your code so far**
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more cat photos.</p>
  **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 5

Link to the challenge:

Is there anything we can do to help?

where to place /main?

I suggest restarting the step. You want to put the opening main element before h1 and the closing main element after the p

An idea about opening and closing tags:
<elem> - opening
</elem> - closing

1 Like


Your <main> is in a wrong place. Put it above the header and you should pass.

main is correct isn’t it?
it /main wrong

I’m not sure I understand.

sr where to place /main?
i put below p but still wrong

Your </main> is in the correct place. Your <main> is not

i have to place above h1?

Yes, that should work

Hahaha thx so much @xynoan

but it have to place below :joy:

Glad you explored. Sorry for my honest mistake :joy:

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