@ecemgo
Posted
Some recommendations regarding your code that could be of interest to you. 🤗
HTML
In order to fix the accessibility issue:
- Each main content needs to start with an h1 element. Your accessibility report states that the page should contain a level-one heading. So, you need to use a
<h1>
element in the<main>
tag instead of using the<h3>
element. You can replace the<h3>Improve your front-end skills by building projects</h3>
element with the<h1>Improve your front-end skills by building projects</h1>
element.
CSS
- If you want to center it correctly, you can update your
body
in this way: (after doing it, please removemain
because you don't needmain
anymore in your CSS file 🤗 )
body {
padding: 0px;
margin: 0px;
background: hsl(212, 45%, 89%);
font-family: "Outfit", sans-serif;
min-height: 100vh;
display: grid;
place-content: center;
}
Hope I am helpful. :)
Marked as helpful
@RaizaCirne
Posted
@ecemgo Thanks. The changes were made!
@ecemgo
Posted
@RaizaCirne I'm happy to help, happy coding! :)