We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec021c9 commit 169646eCopy full SHA for 169646e
Dice Roll Game with JS/app.js
Dice Roll Game with JS/index.html
@@ -0,0 +1,31 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+<head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Dice Roll Game</title>
7
+ <style>
8
+ body {
9
+ font-family: Arial, sans-serif;
10
+ text-align: center;
11
+ padding: 50px;
12
+ }
13
+ .dice {
14
+ font-size: 100px;
15
16
+ .result {
17
+ font-size: 24px;
18
+ margin-top: 20px;
19
20
+ </style>
21
+</head>
22
+<body>
23
+ <h1>Dice Roll Game</h1>
24
+ <div class="dice">🎲</div>
25
+ <button id="rollButton">Roll the Dice</button>
26
+ <div class="result"></div>
27
+
28
+ <!-- Link to the external JS file -->
29
+ <script src="app.js"></script>
30
+</body>
31
+</html>
0 commit comments