Design comparison
SolutionDesign
Community feedback
- @Bayoumi-devPosted over 2 years ago
Hey! It looks good!... I suggest you use
<button className="button">
instead of<div className="button">
... Buttons are used for actions.<button className="button" onClick={handleClick}> <img className="dice" src={dice} alt="Advice Generator" /> </button>
I hope this is useful 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