-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (43 loc) · 1.48 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Pig Game</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Nunito+Sans:[email protected]&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./css/style.css" />
</head>
<body>
<main>
<section class="left player--0 player--active">
<div class="player-container">
<h2 class="player">Player 1</h2>
<p class="score score--0">42</p>
</div>
<div class="current-container">
<p class="current">Current</p>
<p class="current-score current--0">0</p>
</div>
</section>
<section class="right player--1">
<div class="player-container">
<h2 class="player">Player 2</h2>
<p class="score score--1">57</p>
</div>
<div class="current-container">
<p class="current">Current</p>
<p class="current-score current--1">0</p>
</div>
</section>
<img class="dice" src="./assets/images/dice-5.png" alt="Dice" />
<button class="btn new-game">🔚 New Game</button>
<button class="btn roll-dice">🎲 Roll Dice</button>
<button class="btn hold">⬇️ Hold</button>
</main>
<script src="js/script.js"></script>
</body>
</html>