-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (38 loc) · 1.52 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
<!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>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="main">
<h1>Text <span>↑</span> Emoji</h1>
<div id="endec-div">
<h3 id="enc-btn">Encrypt Text <span>🔒</span></h3>
<h3 id="dec-btn">Decrypt Emojis <span>🔓</span></h3>
</div>
<div id="encryption">
<h5>1. Type a message</h5>
<textarea placeholder="Message to be encrypted" name="" id="textmsg" cols="30" rows="10"></textarea>
<h5>2. Set a password</h5>
<input placeholder="Example: 1234" type="password" name="" id="password">
<h5>3. Encrypt message</h5>
<button id="encrypt-btn"><span>🔒</span>Encrypt Text</button>
</div>
<div id="decryption">
<h5>1. Paste encrypted message</h5>
<textarea placeholder="Message to be decrypted" name="" id="emojimsg" cols="30" rows="10"></textarea>
<h5>2. Type a password</h5>
<input placeholder="Example: 1234 (Same as Encryption Pass)" type="password" name="" id="finalpassword">
<h5>3. Decrypt Emojis</h5>
<button id="decrypt-btn"><span>🔓</span>Decrypt Text</button>
</div>
<div id="result">
</div>
</div>
<script src="script.js"></script>
</body>
</html>