/
index.html
90 lines (77 loc) · 3.75 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
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>GamerGuess The Boxart!</title>
<link rel="shortcut icon" type="image/png" href="img/favicon.png">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./styles.css">
<script src="./libraries/moment.js"></script>
<!-- Firestore -->
<script src="https://www.gstatic.com/firebasejs/7.14.3/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.14.2/firebase-firestore.js"></script>
</head>
<body>
<script src="./script.js" async defer></script>
<script src="./leaderBoardScript.js"async defer></script>
<script src="./Data/data.js" async defer></script>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<!-- Inserts Bubble Background -->
<script src="https://cdn.jsdelivr.net/npm/bubbly-bg@0.2.3/dist/bubbly-bg.js"></script>
<script>
bubbly({
// colorStart: '#FFF456',
// colorStop: '#00ffff',
colorStart: '#FFF222',
colorStop: '#00ffff',
bubbleFunc: () => `hsla(${Math.random() * 360}, 100%, 50%, ${Math.random() * 0.25})`
});
</script>
<div class="Title">
<h1 style="font-size:3vw">GAMER GUESS!</h1>
</div>
<div class="RoundScoreImageParentContainer">
<div class="roundContainerDiv">
<h3 style="font-size:2vw">Round <span id="Round" style="color:blue"></span>/10</h3>
</div>
<div class="winnablePointsContainer">
<h4 style="font-size:1.7vw">Round Max Points: <span id="WinnablePoints" style="color:blue"></span></h4>
</div>
<div class="ScoreBoard">
<h3 style="font-size:2vw">Score:<span id="Score" style="color:blue"></span></h3>
</div>
</div>
<!-- <div class="imageContainer"> -->
<img id="boxArt" src="./img/Background2.jpg" style="filter: blur(0px)" alt="Game">
<!-- </div> -->
<div class="ButtonsContainer">
<button class="AnswerButton1" id="answer1" type="button" onclick="guessGame(1)" style="visibility: hidden;">Click Me!</button>
<button class="AnswerButton2" id="answer2" type="button" onclick="guessGame(2)" style="visibility: hidden;">Click Me!</button>
<button class="AnswerButton3" id="answer3" type="button" onclick="guessGame(3)" style="visibility: hidden;">Click Me!</button>
<button class="AnswerButton4" id="answer4" type="button" onclick="guessGame(4)" style="visibility: hidden;">Click Me!</button>
</div>
<div class="NextButton">
<button id="nextGame" type="button" onclick="generateNewGame()" style="visibility: hidden;">Next Image</button>
</div>
<div class="StartButtonContainer">
<button id="startGame" type="button" onclick="generateNewGame()">Start!</button>
</div>
<p class="creator">
<div class="footer">
<span> <a class="leaderboardLink" href="./leaderboard.html">Leaderboard</a> | Made with 🥔 by <a class="creator" href="https://github.com/CarlosIUSalazar" target="_blank">Carlos</a></span>
</div>
</p>
<!-- <script src="./script.js"></script>
<script src="./leaderBoardScript.js"></script> -->
</body>
</html>