Skip to content

Commit 169646e

Browse files
authored
Update index.html
1 parent ec021c9 commit 169646e

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

Dice Roll Game with JS/app.js

Whitespace-only changes.

Dice Roll Game with JS/index.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)