-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (40 loc) · 1.73 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
44
45
46
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<title>Dice Roll</title>
<link rel="stylesheet" href="styles.css" />
<link
href="https://fonts.googleapis.com/css?family=Indie+Flower|Lobster"
rel="stylesheet"
/>
<link rel="shortcut icon" type="image/x-icon" href="./images/dice6.png" />
</head>
<body>
<div class="container">
<h1>Let's Roll</h1>
<h2></h2>
<button id="playButton">Play</button>
<div class="board">
<div class="dice">
<p class="player-name" id="player1" contenteditable="true" onkeydown="limitInputLength(event, this, 15); updateName(1)">Player 1</p>
<img class="img1" src="./images/dice1.png" />
</div>
<div class="dice">
<p class="player-name" id="player2" contenteditable="true" onkeydown="limitInputLength(event, this, 15); updateName(2)">Player 2</p>
<img class="img2" src="./images/dice2.png" />
</div>
<div class="dice">
<p class="player-name" id="player3" contenteditable="true" onkeydown="limitInputLength(event, this, 15); updateName(3)">Player 3</p>
<img class="img3" src="./images/dice3.png" />
</div>
<div class="dice">
<p class="player-name" id="player4" contenteditable="true" onkeydown="limitInputLength(event, this, 15); updateName(4)">Player 4</p>
<img class="img4" src="./images/dice4.png" />
</div>
</div>
</div>
<footer>Made By - <a href="https://www.linkedin.com/in/tushar-singhal-921a41259/" target="_blank" style="color: yellow;">Tushar Singhal</a> </footer>
<script src="./index.js" charset="utf-8"></script>
</body>
</html>