@NaveenGumaste
Posted
Hello ibrahim ! Congo π on completing this challenge
Let's look at some of your issues, shall we:
-
Add Main tag after body
<main class="container"></main>
-
To center the card vertically
min-height: 100vh;
display: flex;
justify-content: center
align-item: center;
-
Always use
h1
first and thenh2
,h3
and so on -
Headings should only increase by one use h1 first then h2 etc..
-
Consider using
h2-h6
elements to add identifying headings to all sections. -
Always use the "alt attribute" and write what img is , and if the img is for decorative then leave it empty but always add it with alt.
happy Codingπ
Marked as helpful
@ibrahimano
Posted
@Crazimonk thank you! I fixed those issues, that was really helpful for the main tag am i using it in the wrong way?
@NaveenGumaste
Posted
@ibrahimano I saw your HTML code, using multiple h1
is not good practice use h2
h3
and then style them in css
and for main
tag its fine what you are using bt.. try to avoid it and keep main
tag just for the sake of semantic structure .