Design comparison
Solution retrospective
I would like to know more about the best pratices ? ( if you can check my code ) accept any suggestion about my code, if you check I appreciated
Community feedback
- @correlucasPosted about 2 years ago
๐พHi @JhonyDomingos, congratulations on your first solution!๐ Welcome to the Frontend Mentor Coding Community!
Great solution and a great start! From what I saw youโre on the right track. Iโve few suggestions for you that you can consider adding to your code:
1.Replace the
<h3>
containing the main title with<h1>
note that this title is the main heading for this page and every page needs one h1 to show which is the most important heading. Use the sequence h1 h2 h3 h4 h5 to show the hierarchy of your titles in the level of importance, never jump a level.2.Use relative units as
rem
orem
instead ofpx
to improve your performance by resizing fonts between different screens and devices. These units are better to make your website more accessible. REM does not just apply to font size, but to all sizes as well.3.Use
<main>
instead of<div>
to wrap the card container. This way you show that this is the main block of content and also replace the div with a semantic tag.โ๏ธ I hope this helps you and happy coding!
Marked as helpful1@JhonyDomingosPosted about 2 years ago@correlucas Ty for your suggestions, I'll update my code with your recommendations!! Definitely I will use all of them ๐
1@correlucasPosted about 2 years ago@JhonyDomingos Then say me if you liked it and if was useful for you. Keep posting amazing content =)
Marked as helpful0@JhonyDomingosPosted about 2 years ago@correlucas I did few changes following your tips, if you can check I'll be to much thankful!
0 - @Effyz1228Posted about 2 years ago
Hi Jhonatan,
I liked that you used flex box for the layout. I found one typo in your code. The last line, you typed 0,3rem instead of 0.3rem. Please check the code snippet below. Overall, I think you did good!
.qr-code { display:flex; border-radius: 0.8rem; background-color: hsl(0, 0%, 100%); padding: 0.5rem; margin: 0,3rem auto;}
Marked as helpful0@JhonyDomingosPosted about 2 years ago@Effyz1228 Thank you bro, This is my first solution, had to many mistakes, but, soon I will remake the code using the knowledge that I got !! thx for revising !!
0
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