-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (45 loc) · 1.29 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
47
48
49
50
51
52
53
54
<!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">
<title>Card Game</title>
<!-- external CSS link -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<div class=" header">
<h1>Card Game!</h1>
</div>
<div class=" cards-container">
<div class="player1">
<input type="text" id="name1" placeholder="Player 1">
<img id="player1" src="./img/card.jpg" alt="playing card">
<h4 id="player1Score">Total Score: </h4>
</div>
<div class="player2">
<input type="text" id="name2" placeholder="Player 2">
<img id="player2" src="./img/card.jpg" alt="playing card">
<h4 id="player2Score">Total Score: </h4>
</div>
</div>
<button id="button">Click Here To Play!</button>
<h3>Result</h3>
</div>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>
<!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">
<title>Document</title>
</head>
<body>
</body>
</html>