-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (44 loc) · 1.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="The card game of War!">
<meta name="keywords" content="cards, war, game">
<title>The Game of War!</title>
<!-- external CSS link -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<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=Black+Ops+One&family=Mukta&display=swap" rel="stylesheet">
</head>
<body>
<h1>The Game of War!</h1>
<section id="gameArea">
<section id="info">
<h2>Player</h2>
<section class="scoreSection">
<h3>Score:</h3>
<h3 id="player1Score"></h3>
</section>
<img id="player1" src="" alt="playing card">
<img id="cardBack1" src="img/card_back.jpg" alt="face down playing card">
<h2>Computer</h2>
<section class="scoreSection">
<h3>Score:</h3>
<h3 id="player2Score"></h3>
</section>
<img id="player2" src="" alt="playing card">
<img id="cardBack2" src="img/card_back.jpg" alt="face down playing card">
</section>
<section id="results">
<h3 id='outcome'></h3>
<button id='newGame'>New Game</button>
<button id='draw2'>Draw</button>
<button id='war'>WAR!</button>
<h3 id="cardsLeft"></h3>
</section>
</section>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>