-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
125 lines (117 loc) · 3.57 KB
/
index.html
File metadata and controls
125 lines (117 loc) · 3.57 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<html lang="en-us">
<head>
<meta charset="UTF-8" />
<meta
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
name="viewport"
/>
<meta content="ie=edge" http-equiv="X-UA-Compatible" />
<link
href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css"
rel="stylesheet"
/>
<title>Dictionary</title>
</head>
<body>
<!--Header-->
<header class="hero is-info">
<div class="hero-body">
<p class="title has-text-centered">Free English Dictionary</p>
</div>
</header>
<!--Search-->
<section class="section">
<div class="field has-addons">
<div class="control is-expanded">
<input
class="input is-large is-fullwidth"
id="define-input"
placeholder="Enter a word"
type="text"
value="Hello"
/>
</div>
<div class="control">
<a class="button is-info is-large" id="define-btn"> Define </a>
</div>
</div>
</section>
<!--Output-->
<section class="section is-medium pt-0 pb-6" id="phonetics">
<h1 class="title">Phonetics</h1>
<article class="message is-medium">
<div class="message-header">/həˈloʊ/</div>
<div class="message-body">
<audio controls style="width: 100%">
<source
src="https://lex-audio.useremarkable.com/mp3/hello_us_1_rr.mp3"
type="audio/mpeg"
/>
Your browser does not support the audio element.
</audio>
</div>
</article>
<article class="message is-medium">
<div class="message-header">/hɛˈloʊ/</div>
<div class="message-body">
<audio controls style="width: 100%">
<source
src="https://lex-audio.useremarkable.com/mp3/hello_us_2_rr.mp3"
type="audio/mpeg"
/>
Your browser does not support the audio element.
</audio>
</div>
</article>
</section>
<section class="section is-medium pt-0 pb-6" id="definitions">
<h1 class="title">Definitions</h1>
<article class="message is-info is-medium">
<div class="message-header">
<p>exclamation</p>
</div>
<div class="message-body">
<div class="content">
<ul style="margin-top: 0">
<li>Used as a greeting or to begin a phone conversation.</li>
</ul>
</div>
</div>
</article>
<article class="message is-info is-medium">
<div class="message-header">
<p>noun</p>
</div>
<div class="message-body">
<div class="content">
<ul style="margin-top: 0">
<li>An utterance of “hello”; a greeting.</li>
</ul>
</div>
</div>
</article>
<article class="message is-info is-medium">
<div class="message-header">
<p>intransitive verb</p>
</div>
<div class="message-body">
<div class="content">
<ul style="margin-top: 0">
<li>Say or shout “hello”; greet someone.</li>
</ul>
</div>
</div>
</article>
</section>
<!--Footer-->
<footer class="footer">
<div class="content has-text-centered">
This program uses the
<a href="https://dictionaryapi.dev/" target="_blank"
>Free Dictionary API</a
>.
</div>
</footer>
<script src="script.js"></script>
</body>
</html>