forked from kjsce-codecell/Basic-PWA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (53 loc) · 1.35 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html>
<!-- html tag comes here-->
<head>
<!-- head tag comes here-->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link
href="https://fonts.googleapis.com/css?family=Montserrat:400,500"
rel="stylesheet"
/>
<meta name="theme-color" content="#ffffff" />
<title>test</title>
<link rel="stylesheet" type="text/css" href="./style.css" />
<link rel="shortcut icon" href="icons/w.png" />
<link rel="manifest" href="./manifest.json" />
</head>
<body>
<header>
<h1 class="center">
pwa workshop
</h1>
</header>
<div id="form">
<label for="searchBox">Enter Word</label>
<!-- input and its parameter -->
<input
type="text"
name="word"
placeholder="Search for any word"
id="searchBox"
/>
<span class="errorMsg">
</span>
<button onclick="getData()">
search
</button>
</div>
<div id="result">
<div id="title"></div>
<div id="def">
<i><div id="partOfSpeech"></div></i>
<div id="defs">
<br />
<ul id="list"></ul>
</div>
<span class="noRes"></span>
</div>
</div>
<!-- add js file -->
<script src="./app.js"> </script>
</body>
</html>