Design comparison
Community feedback
- @faha1999Posted about 2 years ago
Hello, webFerrol Congratulations on finishing this project. It's lovely and great on the whole! Just a little tip:
- You might want to use semantic tags like the
<main>
to wrap your code, instead ofdiv
. like
<main class="card"> </main>
-
I saw in the
structure.css
that sometimes you usepx
&rem
. To optimize your speed when resizing fonts for various displays and devices, substituterem
orem
rather thanpx
. These components work better to improve the accessibility of your website.REM
applies to all sizes, not just the font size.
I hope it will work. Happy coding.
Marked as helpful1 - You might want to use semantic tags like the
- @correlucasPosted about 2 years ago
๐พHi @webferrol, 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:
The HTML structure is fine and works, and you can reduce at least 20% of your code by cleaning the unnecessary elements, you start cleaning it by removing some unnecessary
<div>
. For this solution you wrap everything inside a single block of content using<div>
or<main>
(better option for accessibility) and put inside the whole content<img>
/<h1>
and<p>
.<body> <main> <img src="./images/image-qr-code.png" alt="QR Code Frontend Mentor" > <h1>Improve your front-end skills by building projects</h1> <p>Scan the QR code to visit Frontend Mentor and take your coding skills to the next level</p> </main> </body>
โ๏ธ I hope this helps you and happy coding!
Marked as helpful0
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