Design comparison
SolutionDesign
Solution retrospective
Hi everyone,
I hope you can offer me your suggestions so I can improve my solution. Any feedback would be very much appreciated.
Thanks ππβ.
Community feedback
- @denieldenPosted over 2 years ago
Hi Achref, great work on this challenge! π
Here are a few tips for improve your code:
- instead of using multiple
p
for the details of country you can useul
element - remove all unnecessary code, the less you write the better as well as being clearer: for example the
div
container of flag images - instead of using
px
use relative units of measurement likerem
-> read here - if you want to use the title for the
href
attribute you have to parse it inurl
, it can give problems creating links with empty spaces or special characters - I would also add a query reset button, I find it very convenient
Overall you did well π Hope this help!
Marked as helpful1@AchrefFastPosted over 2 years ago@denielden Hi Deniel, thank you so much for the tips. I'll make sure to adjust my solution by using them.
Many thanksππ .
1 - instead of using multiple
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