-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (54 loc) · 2.76 KB
/
index.html
File metadata and controls
58 lines (54 loc) · 2.76 KB
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<!-- Meta Tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Wellington Suero">
<meta name="description" content="PresTyper - Typing game">
<meta name="keywords" content="web developer, web, developer, front-end,
html, css, javascript, typing, game, objects, class">
<title>PressTyper - Precision Typing Game</title>
<!-- Stylesheets -->
<link rel="shortcut icon" href="./assets/img/favicon.png?=2" type="image/x-icon">
<link rel="stylesheet" href="./assets/style/index.css" media="all">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
<script src="./assets/script/app.js" type="module"></script>
</head>
<body>
<main>
<div class="container flex">
<div class="game-container flex">
<h1 class="game-name">PressTyper</h1>
<div class="info-container">
<p class="score">Score <span class="score-value">0</span></p>
<div class="timer"><i class="far fa-clock"></i> <span class="timer-value">99</span></div>
</div>
<p class="word-display blinking">Press Start to play</p>
<input type="text" class="user-input" >
<button class="start-button" >Start</button>
<button class="restart-button hidden" >Restart</button>
</div>
<!-- <div class="game-over-modal modal">
<div class="modal-content">
<span class="close-modal">×</span>
<p class="modal-title">Game Over</p>
<p class="game-over-message"></p>
<button class="restart-button restart-modal" >Restart</button>
</div>
</div> -->
<div class="scoreboard-container">
<button class="scoreboard-btn">Scoreboard</button>
<div class="scoreboard">
<h2>High Scores</h2>
<ul class="ranking-list"></ul>
</div>
</div>
</div>
</main>
</body>
</html>