@nurularifin83
Posted
Here the solution for the warning Document should have one main landmark <html lang="en">
:
- Put this code
<main></main>
below<body>
, then between<main></main>
put your div code.
The solution for the warning Page should contain a level-one heading <html lang="en">
:
- Put this code
<h1 class="visually-hidden">Product preview examples</h1>
below<main>
, if you use bootstrap just put this class class="visually-hidden" for hidden text. If you did not use bootstrap then just make like this<h1 style="display: none">Profile card component examples</h1>
. Hope it can help you.