-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
289 lines (289 loc) · 10.6 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
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Morse Code Generator</title>
<link rel="stylesheet" href="styles.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
/>
</head>
<body>
<nav>
<div class="left-side">Morse Decoder</div>
<div class="right-side">
<i class="fa-brands fa-github"></i>
Github
</div>
</nav>
<header>
<h1>Morse Code Translator</h1>
<p>
It's easy to use Morse Code Translator, translate Morse code to text and
text to Morse code.
</p>
</header>
<div class="container">
<div class="Morse">
<div id="textareaInput">
<h2 class="morse-heading">text</h2>
<textarea title="text" id="textInput"></textarea>
</div>
<div class="morse-code" id="morseAreaInput">
<h2 class="morse-heading">Morse Code</h2>
<textarea title="morse-code" id="morseOutput"></textarea>
</div>
</div>
</div>
<div class="faq-container">
<h1>Morse Code Related FAQ</h1>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>What is morse code?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">
Morse Code is a character encoding scheme that allows operators to
send messages using a series of electrical pulses represented as short
or long pulses, dots, and dashes in other words
</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>Who Invented Morse Code and When?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">
Samuel F. B. Morse and his assistant Alfred Vail are known as the
inventors of the Morse code. And Morse code developed in the 1830s
then advanced in the 1840s.
</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>What is Morse Code Used For?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">
In the past, Morse code had extensive usage, especially in the
military. Although Morse code has a limited usage area today, it is
still being used in aviation, amateur radio activities, and assistive
technology (AT).
</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>How to Use Morse Code?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">
Morse code can be used in various ways, such as with pen and paper or
with the aid of light and sound. Even, it can be used with the parts
of the body like eyes or fingers.
</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>When Was Morse Code Patented?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">
Samuel Morse received a U.S. patent, US1647A, for dot-dash telegraphy
signals on June 20, 1840. On the other hand, some sources claim that
Samuel Morse received a patent issued by an Ottoman Sultan, Abdulmejid
I, for Morse Code. However, according to Cyrus Hamlin’s memoirs and
The New York Times obituary published on April 3, 1872, Samuel Morse
received not a patent, but an order of the Ottoman Empire, Order of
Glory, instead.
</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>What Was the First Message Sent by Morse Code?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">
“What hath God wrought” is the first official message sent by Samuel
F.B. Morse on May 24, 1844, to open the Baltimore - Washington
telegraph line.
</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>How to Read Morse Code?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">
If you are not proficient enough in reading Morse code, you can look
up for the corresponding Morse representation of each character from
the Morse alphabet table, or you can use Morse code translator.
</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>How to Translate Morse Code?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">
If you’d like to translate or decipher Morse code and if you do not
know how to read Morse code, you can use Morse Code Translator online.
With the Morse Decoder, you can decode Morse code and read English
text easily. Therefore, you can and end your search for the question
of how do you translate Morse code.
</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>What is Morse Code Translator?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">
Morse Code Translator is a translator that lets anyone translate text
to Morse code and decode Morse code to text easily. With the online
Morse code translator, anyone can convert any plain text in English or
whatever language to Morse code and vice versa.
</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>How to Use Morse Code Translator?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">
Just type in the Morse code or text to the corresponding input fields
to use the Morse code converter. For instance, do you remember the
Nokia SMS Tone? Try decoding “... -- ...” then playing the audio of
it. How about decoding a secret message in Morse or the easter egg you
found in a game you played? Well, Morse Code Translator can help you
as long as you have an internet connection and the ambition to learn
Morse code.
</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>What Does SOS Mean?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">
SOS is a distress signal in Morse code, which is internationally
recognized worldwide for obtaining help. It was first adopted by the
German government in 1905. Although some people think that SOS stands
for “Save Our Souls” or “Save Our Ship”, its letters do not stand for
anything.
</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>What is SOS in Morse Code?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">SOS in Morse code is “... --- ...”</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>How to Say Hello in Morse Code?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">“Hello” in Morse code is “.... . .-.. .-.. ---”</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>What Does 3 Dots Mean in Morse Code?</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<p class="show hide">Letter S is three dots in Morse code: “...”</p>
</div>
<div class="morse-question-answer">
<div class="header-logo-flex">
<p>International Morse Code Rule</p>
<div class="open">
<i class="fa-solid fa-plus"></i>
</div>
<div class="close hidden">
<i class="fa-solid fa-minus"></i>
</div>
</div>
<ol type="1" class="show hide">
<li>The length of a .(dot) is one unit.</li>
<li>A -(dash) is three unit.</li>
<li>The space between parts of the same letter is one unit.</li>
<li>The space beteween letters is three unit.</li>
<li>The space between words is seven unit.</li>
</ol>
</div>
</div>
<script src="script.js"></script>
</body>
</html>