-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (79 loc) · 3.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HexGuessr</title>
<meta
property="og:image"
content="https://hexguessr.xyz/images/hexguessr.jpg" />
<meta
property="og:description"
content="Hexcodle was too easy. HexGuessr is unforgiving. Challenge your friends." />
<meta property="og:title" content="HexGuessr" />
<link rel="stylesheet" href="styles.css">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<div id="header">
<div class="header-divs"></div>
<div class="header-divs">
<h1>HexGuessr</h1>
</div>
<div id="header-right-div" class="header-divs">
<a target="_blank" rel="noopener noreferrer" id="github-link" href="https://github.com/erwandl/hexguessr">
<img id="github-logo" src="images/github-logo.png" alt="Github link">
<p style="display: inline">source</p>
</a>
</div>
</div>
<div id="rest">
<div id="game-mode-container" class="card">
<p class="card-title">Choose a game mode</p>
<div id="game-mode-selector">
<button id="classic-mode" onclick="selectGameMode(this.id)" class="game-mode-button">
Classic
</button>
<button id="blink-mode" onclick="selectGameMode(this.id)" class="game-mode-button">
Blink
</button>
<button id="training-mode" onclick="selectGameMode(this.id)" class="game-mode-button">
Training
</button>
</div>
<p id="game-mode-description"></p>
</div>
<div id="content" class="card">
<p id="date-title" class="card-title"></p>
<div id="panels-container">
<button id="ready-button">Ready?</button>
<div class="panel-container">
<p class="panel-title">Target</p>
<div id="target-color-panel" class="color-panel"></div>
</div>
<div class="panel-container">
<p class="panel-title">Your guess</p>
<div id="your-guess-color-panel" class="color-panel"></div>
</div>
</div>
<div id="input-container">
<p id="hash-sign">#</p>
<input type="text" id="color-guess" placeholder="Guess the hex code">
</div>
<p id="error-message"></p>
<button id="check-guess-button">Check Guess</button>
<div id="score-section">
<p id="score-text"></p>
<button id="share-button">
<input type="image" id="share-icon" src="images/share-icon.png" />
<p>Share my result</p>
</button>
<p id="result-copied-msg">Result copied to clipboard!</p>
<p id="detailed-result"></p>
</div>
<button id="retry-button">Generate a new color</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>