Advice Generator / React, Typescript, Tailwind

Solution retrospective
Any feedback is welcome 👍
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Simplify4Me2
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 🍵🍵
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