@MelvinAguilar
Posted
Hello ๐. Congratulation on successfully completing your first challenge ๐ ! !
I have some recommendations regarding your code that I believe will be of great interest to you.
- Avoid using percentage or viewport units for component width, as it may lead to issues on mobile and large screens. Instead, use a max-width of
320px
or20rem
to ensure a consistent maximum width, and remove any percentage-basedwidth
properties.
- Use semantic elements such as
<main>
and<footer>
to improve accessibility and organization of your page.
-
It's recommended that you always use the font provided by the challenge's style guide.To import a font, follow the steps below:
- Go to the font's page on Google Fonts: https://fonts.google.com/specimen/Outfit.
- A sidebar will appear with a code snippet that you can use to import the font.
- Copy this code snippet and paste it into the <head> section of your HTML document.
- Now you can use the "Outfit" font in your CSS by specifying
font-family: 'Outfit', sans-serif;
.
I hope you find it useful! ๐ Above all, the solution you submitted is great!
Happy coding!
Marked as helpful
@Mikkybeardless
Posted
@MelvinAguilar thank you so much.. I actually know that something is wrong from the way my page responded to tablet and laptop view but didn't know what exactly to use to solve it
Thanks to you, I know now