Design comparison
Solution retrospective
Working with fetch APIs nowadays seems pretty comfortable. This exercise was nice, since it was pretty fast to complete and the result is something that can be shown to friends as a complete little widget which requires no further context to work.
I thought if there is a dice it definitely is supposed to be rolled, even if the exercise didn't say so outright. It was enjoyable to find out that the dice roll animation works entirely without js. The slide in on the other hand, technically requires js since i am injecting the paragraph tag new with every dice roll and since it is a new element the css animation gets triggered.
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