-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (27 loc) · 1.15 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
<html>
<head>
<script src="./index.js" type="application/javascript"></script>
<title>Basic Front-End JavaScript Application</title>
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body onload="getItems()" class="container">
<h1 id="title" class="title" onclick="secretPage()">Welcome !</h1>
<br>
<label for="name" class="label-name">items:</label>
<div class="search-bar-container">
<input type="text" id="search-bar" onkeyup="showSuggestions()" class="search-bar">
<button id="clear-button" class="clear-button" onclick="resetContent()">✖</button>
</div>
<div id="suggestions-container">
<div id="suggestions"></div>
</div>
<br>
<div class="number-shortcut-container">
<div class="number-shortcut-box" onclick="addNumber('1c')">1c</div>
<div class="number-shortcut-box" onclick="addNumber('2c')">2c</div>
<div class="number-shortcut-box" onclick="addNumber('4c')">4c</div>
<div class="number-shortcut-box" onclick="addNumber('6c')">6c</div>
<div class="number-shortcut-box" onclick="addNumber('12c')">12c</div>
</div>
</body>
</html>