Design comparison
Solution retrospective
Any feedback is welcome π
Community feedback
- @Simplify4Me2Posted about 1 month ago
Hi @dev-paulL,
Great solution! A smooth setup using Tailwind, Vite and React β‘
Just a tiny detail, but I noticed you're using
after:content-['Β»']
and its equivalent for quotes. Maybe try using“
and”
. Those polished touches can really make a difference!Loving the Tailwind variables, but a little remark βTailwindβs docs recommend defining them in your
main.css
orindex.css
file (you can check it out here: Tailwind Customizing Colors). Also, instead of using dark, consider naming with shades (e.g., gray-700), as it might offer more flexibility for future changes.And while I'm being nitpicky, I noticed an empty
alt
attribute on an image - giving it a meaningful value will help with accessibility, plus it's good for SEO!Overall, great job! Keep up the awesome work and happy coding π΅π΅
1@dev-paulLPosted about 1 month ago@Simplify4Me2 Hi Simon π, both the images are decorative and don't need an alt attribute (the button has an aria-label). About the colors, I'm pretty sure it's about the same, and it's easier that way because I can copy paste them from the styleguide. But in general yes, it's better to name with shades
The quotation marks are the "french touch" ππ«π·
1
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