-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (53 loc) · 2.27 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
<!DOCTYPE html>
<html" lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Text to Morse Code Converter</title>
<!-- CUSTOM STYLESHEET -->
<link rel="stylesheet" href="style.css">
<!-- ICONSCOUT CDN -->
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css">
<!-- GOOGLE FONT(MONTSERATE) -->
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,800;1,700&display=swap" rel="stylesheet">
</head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav>
<div class="new nav__container">
<a href ="https://github.com/Underemployed" class="nav__logo">UNDEREMPLOYED</a>
<ul class="nav__items">
<li><a href="https://github.com/Underemployed/morse_code_translator">Repo</a></li>
<li><a href="https://www.linkedin.com/in/nithin-a-06b946256/">LinkedIn</a></li>
</ul>
<button id="open__nav-btn"><i class="uil uil-bars"></i></button>
<button id="close__nav-btn"><i class="uil uil-multiply"></i></button>
</div>
</nav>
<div class="new c">
<div class="fb">
<p class="small__button left btn" id="backward" onclick="goBackward()"><</p>
<h1>Text to Morse Code Converter</h1>
<p class="small__button right btn" id="forward" onclick="goForward()">></p></div>
<textarea id="input" rows="5" placeholder="Write your message"></textarea>
<div class="p-container">
<p class="btn"onclick="convertToMorse()">Text to Morse</p>
<p class ="btn"onclick="convertToText()">Morse to Text</p>
<!-- <p class="btn " onclick="playMorseCode()">Play Morse Code</p> -->
</div>
<div class="output-container">
<h1>Output</h2>
<textarea id="output" rows="5" placeholder="Morse code will appear here" readonly> </textarea>
</div>
<div class="p-container">
<p class="btn"id="paste">Paste</p>
<p class="btn" onclick="copyText()">Copy</p>
<p class="btn danger"onclick="clearText()">Clear</p>
</div>
</div>
<script src="script.js"></script>
</body>
</html>