-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (34 loc) · 1.22 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Text Encryptor/Decryptor</title>
<script src="main.js" defer></script>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1>Encryptor/Decryptor</h1>
<div class="matter">
<div class="mainsection">
<label for="inputText">Input Text:</label>
<textarea
id="inputText"
placeholder="Enter text to encrypt/decrypt"
></textarea>
<label for="rotation">Rotation Value:</label>
<input type="number" id="rotation" placeholder="Enter rotation value" />
<h2 class="oneto">Add Any Rotation Value From 1 to 25</h2>
</div>
<div class="encryptsection">
<label for="encryptedText">Encrypted Text:</label>
<textarea id="encryptedText" placeholder="Encrypted text"></textarea>
<button onclick="encryptText()">Encrypt</button>
</div>
<div class="decryptsection">
<label for="decryptedText">Decrypted Text:</label>
<textarea id="decryptedText" placeholder="Decrypted text"></textarea>
<button onclick="decryptText()">Decrypt</button>
</div>
</div>
</body>
</html>