A rolling dice app built with JavaScript
Define and import rollingDice plugin
const rollingDice = require('./rolling-dice-v1.0.0');
Define dices
const dice1 = rollingDice.dice1();
const dice2 = rollingDice.dice2();
Insert the following into your HTML <head></head>
element:
<link rel="stylesheet" href="./inludes/stylesheets/rolling-dice-v1.0.0.css">
Include the script before </body>
tag of your HTML file:
<script src="./rolling-dice-html-prototype-v1.0.0.js"></script>