Design comparison
SolutionDesign
Community feedback
- @Bayoumi-devPosted over 2 years ago
Hey! I suggest you use
<button class="..." id="dice">
instead of<div class="..." id="dice">
... Buttons are used for actions.<button class="random-dice d-flex rounded-circle" id="dice"> <img src="images/icon-dice.svg" class="" alt="Advice Generator"> </button>
Hope this help!... Keep it up👍
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