Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5888ead

Browse files
committed
add div for keys
1 parent d6710b1 commit 5888ead

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Source-Code/EventCode/index.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<link rel="stylesheet" href="style.css">
7+
<title>Event Code</title>
8+
</head>
9+
<body>
10+
<div class="insert">
11+
<div class="key">
12+
a
13+
<small>event.key</small>
14+
</div>
15+
<div class="key">
16+
a
17+
<small>event.keycode</small>
18+
</div>
19+
<div class="key">
20+
a
21+
<small>event.Code</small>
22+
</div>
23+
<div class="key">
24+
press any key to get the keyCode
25+
</div>
26+
</div>
27+
28+
29+
<script src="script.js"></script>
30+
</body>
31+
</html>

0 commit comments

Comments
 (0)