Frontend Mentor | QR code component

Solution retrospective
I'm looking for your help to code better.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @correlucas
👾Hi @Beyza-uNAL, congratulations on your 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.When you download the project files there’s a file called
style-guide.md
where you can find information such ashsl color codes
and thefont-size
for the headings. The background-color in this case isbackground-color: #D5E1EF
2.Reduce your code by removing unnecessary elements. The HTML structure is working but 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>
Here's my solution for this challenge if you wants to see how I build it: https://www.frontendmentor.io/solutions/qr-code-component-vanilla-cs-js-darklight-mode-nS2aOYYsJR
✌️ I hope this helps you and happy coding!
- @Raja-Junaid
Hi BEYZA ÜNAL’S! Congratulation on completing this challenge. I have some tips to improve your coding skills:
1- Keep your work as decent as possible when creating a webpage.
2- Use decent colors.
3- Keep your webpage neat and clean.
4- Use nice-looking fonts.
5- Never forget to place comments in your code, it's beneficial to understand your code and what's going on.
I hope this helps you
Keep Coding!
Join 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