-
Notifications
You must be signed in to change notification settings - Fork 1
/
battle.html
101 lines (94 loc) · 4.35 KB
/
battle.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Github Battle</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link
href="https://fonts.googleapis.com/css2?family=Jost:wght@300;400;600&family=Roboto:wght@400;500;700&display=swap"
rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<ul class="nav">
<li>
<a class='nav-btn' href="/index.html">Home</a>
</li>
<li>
<a class='nav-btn' href="/battle.html">Battle</a>
</li>
<li>
<a class='nav-btn' href="/popular.html">Popular</a>
</li>
<li>
<a class='nav-btn' href="/search.html">Search</a>
</li>
<li>
<a class='nav-btn red' href="https://github.com/ryderdamen/lgbtq_technology_resources">LBTQ</a>
</li>
</ul>
<div class="loader-container"></div>
<div id='content-container' class="content-container">
<div id='instruction-container' class="instructions-container">
<h1 class="center-text header-lg">Instructions</h1>
<ol class="container-sm grid center-text battle-instructions">
<li>
<h3 class="header-sm">Enter two Github users</h3>
<div class="instruction-user"
style='width:160px;height:160px;border-radius:20px;background-color:#5fef82;padding: 10px;box-sizing: border-box;display: flex;align-items: center;justify-content: center;margin: 0 auto;'>
<img src='./img/users.svg' width='90px'>
</div>
</li>
<li>
<h3 class="header-sm">Battle</h3>
</li>
<li>
<h3 class="header-sm">See the winners</h3>
</li>
</ol>
</div>
<div class="players-container">
<h1 class="center-text header-lg">Players</h1>
<div class="row space-around">
<div class="player-container-1">
<form id='player-1' class="column player player-sm">
<label for="username" class="player-label">
Player One
</label>
<div class="row player-inputs">
<input type="text" id="username-one" class='username username1 input-light'
placeholder="github username" autoComplete="off" />
<button class=" brk-btn dark-btn">
Submit
</button>
</div>
</form>
<p class='error'>Username doesn't exist</p>
</div>
<div class="player-container-2">
<form id='player-2' class="column player player-sm">
<label for="username" class="player-label">
Player Two
</label>
<div class="row player-inputs">
<input type="text" id="username-two" class='username username2 input-light'
placeholder="github username" autoComplete="off" />
<button class=" brk-btn dark-btn">
Submit
</button>
</div>
</form>
<p class='error'>Username doesn't exist</p>
</div>
</div>
<a id="btn-battle" class="btn-battle brk-btn dark-btn btn-space" href="#">Battle</a>
</div>
</div>
</div>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="./js/loader.js"></script>
<script src="./js/battle.js"></script>
</body>
</html>