Dono where to give closing element </main>

Tell us what’s happening:
Describe your issue in detail here.

   **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/101.0.4951.64 Safari/537.36 Edg/101.0.1210.53

Challenge: Step 5

Link to the challenge:

in the instructions, it specifies, the should be located “after” the h1 and the closing /main after the p. You placed the /main correctly but you need to put the main after the /h1.

Hope this helps, you need to check where an element starts and ends and which element is within another element.

Happy coding :smile:

It tells you to add <main> after the h1 and after the p <main>
So that the h2 and p will be inside

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