-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
77 lines (77 loc) · 1.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LOL AI Guesser</title>
<style>
body {
font-family: sans-serif;
}
.image-container {
display: flex;
justify-content: center;
align-items: center;
}
.image-inner-container {
overflow: hidden;
width: 60vw;
}
img {
width: 100%;
transform-origin: 0 0;
transition: all 1s ease-in-out;
}
#buttons {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
button {
margin: 1rem;
font-size: 2rem;
}
#correct-score, #wrong-score {
font-weight: bold;
}
.approved {
width: 100%;
position: fixed;
top: 0;
left: 0;
}
.hidden {
display: none;
}
.oated {
height: 90%;
width: auto;
position: fixed;
top: 0;
left: 0;
transform: rotate(35deg);
}
</style>
</head>
<body>
<h1>LOL AI Guesser</h1>
<div>
Correct Guesses: <span id="correct-score">0</span>
</div>
<div>
Wrong Guesses: <span id="wrong-score">0</span>
</div>
<div class="image-container">
<div class="image-inner-container">
<img id="image">
</div>
</div>
<div id="buttons"></div>
<img class="approved hidden" src="https://www.onlygfx.com/wp-content/uploads/2016/09/green-approved-stamp-1-1024x772.png" alt="">
<img class="oated hidden" src="https://cdn0.rubylane.com/shops/ruthsredemptions/QWKRTN.1L.jpg" alt="">
<script src="https://unpkg.com/ml5@latest/dist/ml5.min.js"></script>
<script src="app.js"></script>
</body>
</html>