Design comparison
Solution retrospective
Hi,
Any advice on my Tailwind usage?
Thanks for your time!
Community feedback
- @robcrockPosted 4 months ago
I like how you set up the min/max password length constants. I also like how you have set up the copy to clipboard reset using setTimeout.
You asked for feedback on your Tailwind. In my solution I learned how to use the
group
utility class to style child based on interactions made on the parent. I used this in the Copy to Clipboard button and icon in the Generate button. Maybe you'd like to use it to? https://tailwindcss.com/docs/hover-focus-and-other-states#styling-based-on-parent-state I don't think you have setup the hover state of your Copy to Clipboard yet.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