Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I'm proud that I dynamically added data to the design. I also got experience using different Tailwind CSS utility classes, including using hover
state directly in the HTML instead of adding them in the CSS file.
I encountered a glitch trying to dynamically render color from a data.js file to style text. The solution was to add a 'safelist' to the tailwind.config.js
file.
What specific areas of your project would you like help with?{item.category}
Is there a better way to dynamically style color using Tailwind CSS? See my challenge above.
Community feedback
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