i guess have written the code correct but it is still showing it is not correct..
Your code so far
<html>
<body>
<!-- User Editable Region -->
<main>
<h1>Most important content of the document</h1>
<p>Some more important content...</p>
</main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Everyone loves cute cats online!</p>
<!-- User Editable Region -->
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
The instructions are only asking you to add the opening and closing tags for the main element in reference to the existing h1 and p elements in the starting code. You were not asked to add an additional h1 element and p element.
Please reset this step and try again to:
Identify the main section of this page by adding a <main> opening tag before the h1 element, and a </main> closing tag after the p element.
I’ve written it correctly but still it’s showing it’s not correct
Your code so far
<html>
<body>
<!-- User Editable Region -->
<main>
<h1>Most important content of the document</h1>
<p>Some more important content...</p>
</main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Everyone loves cute cats online!</p>
<!-- User Editable Region -->
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Mobile Safari/537.36
Please do not create duplicate topics for the same challenge/project question(s). If you need more help then respond back to the original topic you created with your follow up questions and/or your updated code and question.