CSS - JS - Dice roller

in #estonialast year

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


Congratulations @luts! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You received more than 4000 upvotes. Your next target is to reach 5000 upvotes.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

korras script

peaks veel midagi kokku keevitama