-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (29 loc) · 926 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="favicon.png" type="image/png" />
<link rel="stylesheet" href="style.css" />
<title>Keyboard Event</title>
</head>
<body>
<div class="cursor"></div>
<div class="vertical">
<h1>Keyboard Code</h1>
</div>
<div class="main">
<div class="main-container">
<h2>Press any key to get the event keyCode</h2>
<div id="show-code" class="show-code">
<span id="keyColor">Key: <span class="keySpan"></span></span>
<span id="keyCodeColor">keyCode: <span class="keyCodeSpan"></span></span>
</div>
<footer class="footer">
<p>Made with ❤️ by Anette | 2020</p>
</footer>
</div>
</div>
<script src="app.js"></script>
</body>
</html>