Learn HTML by Building a Cat Photo App - Step 5

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

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp<main></h1>
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more cat photos.</p>
  
  
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 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?
thx

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


@xynoan

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?
:smiling_face_with_tear:

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: