-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (45 loc) · 1.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- What does that mean?
View-port is the width of the device itself. If your screen resolution says the resolution is
1280 x 720, your view-port width is "1280px". More often many devices allocate different pixel
amount to display one pixel. For an example iPhone 6 Plus has 1242 x 2208 resolution.
But the actual viewport-width and viewport-height is 414 x 736. That means 3 pixels are used to
create 1 pixel. But if you did not set the meta tag correctly it will try to show your webpage
with its native resolution which results in a zoomed out view (smaller texts and images). -->
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="resources/style.css">
<link rel="stylesheet" href="resources/userInput.css">
<link rel="stylesheet" href="resources/reportCard.css">
<link rel="stylesheet" href="resources/pokemonNames.css">
<title>Pokemon Fingers</title>
</head>
<body>
<div id="container">
<div id="pokemon-image-container">
<img id="pokemon-image-even"/>
<img id="pokemon-image-odd"/>
</div>
<div id="pokemon-names-div">
<span id="this-word"></span>
</div>
<div id="user-input-container">
<input id="user-input-text" autocomplete="off">
</div>
<div id="timer-span"></div>
<div id="report-card-container" style="display: none">
<div class="report-card-row">
You got <span id="correct-pokemon-count-span"></span> pokemon names right.
</div>
<div>
You got <span id="wrong-pokemon-count-span"></span> pokemon names wrong.
</div>
<input type="button" id="new-game-button" value="New Game">
</div>
</div>
<script type="module" src="src/controller.js"></script>
</body>
</html>