Design comparison
SolutionDesign
Solution retrospective
I noted a few questions while developing this component:
- Should I use a
<div>
or a<button>
for the HTML element surrounding the dice SVG that triggers the event displaying a new advice ? - How did you manage to display this button at the expected position ? I used position: absolute but was wondering if there was another way
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