@AdrianoEscarabote
Posted
Hey joyafrikaana, how’s it going? I was really impressed with your project’s result, though I have some advice that could be helpful:
We have to make sure that all the content is contained in a reference region, designated with HTML5 reference elements.
native HTML5 reference elements:
<body>
<header>This is the header</header>
<nav>This is the nav</nav>
<main>This is the main</main>
<footer>This is the footer</footer>
</body>
Consider using rem
for font sizes. When font sizes are set in absolute units like pixels, users can't adjust the text size based on their preferences. Relative units like rem
adapt to the screen size and user settings, making them more flexible across various devices.
If you'd rather keep using px
, you can download a handy VS Code extension that converts pixels to rem
automatically
link -> px to rem
Everything else looks great.
Hope this helps! 👍
Marked as helpful
@joyafrikaana
Posted
Thank you so much for the tips. I'd ensure that they are implemented in my next project. @AdrianoEscarabote