-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
23 lines (23 loc) · 832 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="logo.jpg" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<title>BlackJack</title>
</head>
<body>
<h1>BlackJack</h1>
<p id="message-el">Want to play a new round?</p>
<p id="cards-el">Cards:</p>
<p id="sum-el">Sum:</p>
<button id="start-el" onclick="startGame()">Start Game</button>
<button id="" onclick="drawNewCard()">New Card</button>
<p id="player-el"></p>
<canvas id="canvas-el"></canvas>
<script src="https://cdn.jsdelivr.net/npm/js-confetti@latest/dist/js-confetti.browser.js"></script>
<script src="script.js"></script>
</body>
</html>