@fernandolapaz
Posted
Hi 👋, perhaps some of these tips may interest you:
HTML 🧱, ACCESSIBILITY ⚖:
- The main content of every page (the card in this case) should be wrapped with the
<main>
tag.
- Every page should have an
<h1>
to improve user experience and because it is an important element when it comes to SEO. Maybe the 'texto1'...
CSS 🎨:
- The page content could be centered using Grid or Flexbox. This may be the easiest way:
body {
min-height: 100vh;
display: grid;
place-content: center;
}
And I think you could remove the '.container' .
- And you might consider using some CSS reset as a good practice at the start of each project, to have a clean starting point and reduce differences between browsers. For example, these are some very common and useful ones:
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
(this will remove the horizontal scrollbar you have, for example)
I hope you find it useful, any questions do not hesitate 🙂
Regards,