Design comparison
SolutionDesign
Community feedback
- @Bayoumi-devPosted over 2 years ago
It looks great Mayur!... I suggest you use
<button class="image">
instead of<div class="image">
...Buttons
are used for actions.<button class="dice"> <img src="images/icon-dice.svg" alt=" Advice Generator"> </button>
and Then add
cursor: pointer;
to thebutton
, The cursor indicates to users there is an action that will be executed when clicking on it.Hope this is helpful to you... Keep coding👍
Marked as helpful0
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