im poor in steem avatar

CSS - JS - Dice roller

luts

Published: 30 Nov 2019 › Updated: 30 Nov 2019CSS - JS - Dice roller

CSS - JS - Dice roller

I came up with an idea to code a dice roller. Since I haven't introduced myself too much to Javascript yet, I googled how to do the random rolling part. I made the cool looking background with linear-gradient property and the dice roller will do its job when you hover over the button.

The roller ended up like this:

I ended up with
14 lines of HTML
37 lines of CSS
14 lines of JS

Check out the project HERE

Leave CSS - JS - Dice roller to:

Written by

Read more #estonia posts


Best Posts From im poor in steem

We have not curated any of luts's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From im poor in steem