Design comparison
SolutionDesign
Community feedback
- @grgrnkooPosted 5 months ago
Great solution! I took your fetching method and tried to apply it to my solution! Thanks
But I think you forgot to add interactivity for a dice button. You can try
dice.addEventListener('click', randomAdvice)
after initializing a dice value withgetElementById
1
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