Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Dice Roll Game</title>
- </head>
- <body>
- <h1>Dice Roller</h1>
- <div class="dice" id="first-die"></div>
- <div class="dice" id="second-die"></div>
- <button id="roll-dice">Roll the Dice</button>
- <div class="outcome"></div>
- <div id="sum"><p><span id="total"></span> Total</p></div>
- <div id="victory"><p> Won<span id="wins"></span></p></div>
- <div id="lost"><p> Lost<span id="losses"></span></p></div>
- <div id="%"><p><span id="pct"></span>% Won</p></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement