Interactive rating component with animation
Design comparison
Community feedback
- @AlexKMarshallPosted over 2 years ago
Hey there, the styling of this looks very nice, and it looks good on a small screen. The animation is a nice touch.
Did you try testing it with a keyboard though? It doesn't work for anyone that isn't using a mouse, unfortunately.
To fix that you'll want to look into using
<form>
and<input type="radio">
elements. As a bonus, doing that will allow you to remove almost all the javascript, and rely on pure HTML and CSS for almost everything.Marked as helpful1@toonchavez8Posted over 2 years ago@AlexKMarshall
Oh wow, that's great insight I actually didn't consider that keyboard option. I definitely will have to re-iterate the page and update with that in mind. I also want to incorporate a back option as having to refresh can be a hassle.
Thank you very much!
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