Design comparison
Solution retrospective
Proud of starting frontend mentor learning path. Next time I try use pre-processor for css
What challenges did you encounter, and how did you overcome them?No challanges for that project
What specific areas of your project would you like help with?I would like to get an honest assessment while I know that this was one of the simpler projects and it can be very difficult to isolate individual elements that need improvement or are ok
Community feedback
- @DanijelAdrinekPosted 8 months ago
Hey Patrycja, I liked your project and decided to take a look at it for a bit, and I found some things I think you can improve on.
-
You forgot to remove
>
that is found under the card, moving it up from the middle -
The text class names are for sure over-complicated for a project this small, I get where you're going with it, but its not necessary to have these long naming conventions in this project, that would be great if you were programming a shopify theme tho, but here, its okay to just name the first class card, and if you think other elements will be added, you can add in css
.qr-component .title {/* CSS code */}
-
You should add the text together in one div that should be called text-container, it makes it easier to manipulate the text like that, especially if you're good at using flexbox, and you wont need to assign separate classes to title and paragraph, you can use
.card .text-container > h1 {/* CSS code */}
or.card .text-container > p {/* CSS code */}
to select these elements.
-
Use CSS variables, they are a powerful tool to help make your code more readable and easy to manipulate
-
The solution you provide should match the design, it is a bit complicated to understand how to do that for the first time, so if you want, I have written my own blog post on solving this challenge, where I explain how to make pixel-perfect solutions to any challenge you might be facing in the future, using this one as an example. here is the link if you want to check it out:
https://dev.to/danijeladrinek/frontend-mentor-qr-code-challenge-4g9h
This is still a great project, one of the better ones I have seen, but I hope these tips help you become a better web developer, and help you on your journey towards getting this amazing job! 🚀
if you have any more questions feel free to let me know, have an amazing day, and happy coding :)
0@David-dawnPosted 8 months ago@Patrycja-dz thank you for giving me feedback on my Qr-code-component You did a good job also on this challenge... Keep it up bro
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