Design comparison
SolutionDesign
Solution retrospective
I want the the timeframe to change color on hover also it changes color on click which is achieved. But I want one of the timeframe to go back to its original color when another its click. Eg: if "daily" is clicked then it color is white also when I hover to weekly and monthly it will be white but when I clicked weekly after daily. Daily change its color to original and weekly changes to white. Please help out with this issue.
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