Submitted over 2 years ago
QR code landing page using CSS and HTML
@mouhibeddine
Design comparison
SolutionDesign
Community feedback
- Account deleted
Hey Mouhibeddine, congratulations on completing the challenge!
You must named the html file like
index.html
to see it and upload the image to the repository.Let me give you some little tips for optimizing your code:
- create
style.css
sheet and use it for the style instead of write the css inside html because best mode is separade the code - add
main
tag and wrap the card to improve the Accessibility - instead of
div
you can usearticle
tag for the container of card and improve the Accessibility - use
h1
for the title of card and noth3
- remove all
margin
fromdiv
- use flexbox to the body to center the card. Read here -> flexbox guide
- after, add
min-height: 100vh
to body because Flexbox aligns child items to the size of the parent container - instead of using
px
try to use relative units of measurement likerem
-> read here it's much better!
Hope this help! Happy coding 😁 by Travolgi
Marked as helpful0 - create
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord