-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
59 lines (51 loc) · 2.21 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="(unofficial) Google Dictionary API">
<meta name="author" content="Reboot13">
<title>Dictionary API - Reboot13</title>
<script type="text/javascript" src="back-end.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<link rel="icon" href="https://img.icons8.com/fluent/100/000000/book.png" type="image/icon type">
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<center>
<div class="main">
<h3> Google Dictionary API</h3>
<div class="input-group mb-3">
<input type="text" class="form-control" id="input">
<input type="button" name="Search" value="Search" onclick="Search()" class="btn btn-outline-secondary btn-primary" type="button">
<input type="button" name="Reset" value="Reset" class="btn btn-outline-secondary" type="button" onclick="history.go(0)">
</div>
<h1 class="badge rounded-pill bg-primary" id="word" align="left">Loading....</h1>
<h4 style="color: #0d6efd!important; font-weight: bold;" align="left">Definition:</h4>
<h6 align="left" id="definition1"></h6>
<h6 align="left" id="definition2"></h6>
<br>
<br>
<br>
<h4 style="color: #0d6efd!important; font-weight: bold;" align="left">Example:</h4>
<h6 align="left" id="example1"></h6>
<h6 align="left" id="example2"></h6>
<br>
<br>
<audio controls id="audio">
<source type="audio/ogg">
</audio>
</div>
</center>
<script src="https://code.responsivevoice.org/responsivevoice.js?key=Uy0X6T10"></script>
<br>
<br>
<br>
<footer class="blog-footer" id="blog-footer">
<p>Developed and Desigined by <span style="color: #0d6efd!important; font-weight: bold;">Reboot13</span></p>
<p>
Copyright ©<script>document.write(new Date().getFullYear());</script> Reboot13</p>
<p><a href="https://github.com/reboot13-git/dictionary-api">View Source on Github</a></p>
</footer>
</body>
</html>