-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (81 loc) · 2.15 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
width: 100%;
}
.middle {
flex-grow: 1;
flex-shrink: 0;
justify-content: center;
display: flex;
flex-direction: column;
/* justify-content: space-evenly; */
align-items: center;
width: 100%;
}
#footer,
#header {
background-color: aliceblue;
width: 100%;
text-align: center;
}
#choices {
width: 100%;
display: flex;
justify-content: space-around;
}
#scores {
width: 100%;
display: flex;
justify-content: space-around;
}
p {
text-align: center;
}
</style>
</head>
<body>
<div class="container">
<div id="header">
<h1>Rock Paper Scissors - A Classic</h1>
</div>
<div class="middle">
<div id="buttons">
<button id="r" style="background-image: url(./images/rock-200x187.png);">Rock</button>
<button id="p" style="background-image: url(./images/paper-200x187.png);">Paper</button>
<button id="s" style="background-image: url(./images/scissors-200x187.png);">Scissors</button>
</div>
<div id="choices">
<p id="cchoice">My Choice: <em>sshh! secret</em></p>
<p id="hchoice">Your Choice: Choose one, Handsome/Beautiful</p>
</div>
<p id="round">Commentary: <em>start your game dear...</em></p>
<div id="scores">
<p id="cscore">My Score: 0</p>
<p id="hscore">Your Score: 0</p>
</div>
<p id="final"></p>
<p id="reset"></p>
</div>
<div id="footer">
<p>@rishikpogu (known for making worst ui's)</p>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>