-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (60 loc) · 1.88 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css" integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dictionary app | HTML - css - JavaScript</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<form id="form" action="#">
<h2>English Dictionary</h2>
<div class="input_container">
<input required type="text" id="text">
<button type="submit">
<i id="fa_search" class="fas fa-search"></i>
</button>
<i id="fa_times" class="fas fa-times"></i>
</div><br>
<center class="center">
Type a word and press enter to get meaning, example, pronunciation, synonyms and antonyms of that word.
</center>
<div class="content">
<div class="res1">
<h3></h3>
<span></span>
<i onclick="playSound()" class="fas fa-volume-up"></i>
</div>
<div class="res2">
<h3>Meaning</h3>
<i onclick="Speak_meaning()" class="fas fa-volume-up"></i>
<span></span>
</div>
<div class="origin">
<h3>Origin</h3>
<i onclick="Speak_origin()" class="fas fa-volume-up"></i>
<span></span>
</div>
<div class="res3">
<h3>Example</h3>
<i onclick="Speak_example()" class="fas fa-volume-up"></i>
<span></span>
</div>
<div class="res4">
<h3>Synonyms</h3>
<i onclick="Speak_synonyms()" class="fas fa-volume-up"></i>
<span></span>
</div>
<div class="res5">
<h3>Antonyms</h3>
<i onclick="Speak_antonyms()" class="fas fa-volume-up"></i>
<span></span>
</div>
</div>
</form>
</div>
<script src="main.js"></script>
</body>
</html>