-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (28 loc) · 1007 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dice Roll Simulation</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="conteiner">
<h1>Dice Roll Simulation</h1>
<form action="result.php" method="POST">
<label for="num_dice">Number of Dice:</label>
<input type="number" id="num_dice" name="num_dice" min="1" value="1">
<label for="dice_type">Type of Dice</label>
<select id="dice_type" name="dice_type">
<option value="4">d4</option>
<option value="6">d6</option>
<option value="8">d8</option>
<option value="10">d10</option>
<option value="12">d12</option>
<option value="20">d20</option>
</select>
<button type="submit">Roll Dice</button>
</form>
</div>
</body>
</html>