-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
110 lines (77 loc) · 4.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>ENCRYPTOR 3000</title>
<link rel="icon" href="assets/favicon.ico"/>
<link href="typewriter.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 id="TITLE" class="text-center">ENCRYPTOR 3000</h1>
<div class="container text-center">
<div class="container text-center">
<div class="typewritercontainer">
<div class="typed-outTypewriter form-label" id="DESCRIPTION">This highly intellegent machine can encrypt ceasar code that you create from scratch!</div>
</div>
</div>
<div class="container text-center">
<div class="typewritercontainer">
<div class="typed-outTypewriter delay1" id="DESCRIPTION">Fill in the requirements below and let us do the magic for you. <br></div>
</div>
</div>
<br>
<div class="container text-center">
<div class="typewritercontainer">
<div class="typed-outTypewriter delay2" id="DESCRIPTION">This machine is so incredibly efficient due to the fact that we created it by improving the Turing Machine</div>
</div>
</div>
<div class="container text-center">
<div class="typewritercontainer">
<div class="typed-outTypewriter delay3" id="DESCRIPTION">(Thanks Alan Turing). This machine takes whatever you input as the un-crypted message and the number</div>
</div>
</div>
<div class="container text-center">
<div class="typewritercontainer">
<div class="typed-outTypewriter delay4" id="DESCRIPTION">input together through a few processes that use the ceasar encryption function to encrypt your message.</div>
</div>
</div>
</div>
<div class="container mt-5 text-center">
<form class="row g-3 justify-content-center" id="myForm" onsubmit="event.preventDefault();">
<div class="col-md-5">
<label for="choppingBlock" class="form-label spaceLabel">Message you want to encrypt:</label>
<input type="text" la class="form-control border-0 rounded-0" autocomplete="off" id="choppingBlock">
</div>
<button id="deletor" aria-label="Delete" class="btn fa-solid fa-trash-can align-bottom ml-3 mr-3 d-inline-block mt-4 mb-1 rounded-0 delButton" onclick="clearLabel();"></button>
<div class="col-md-5 w-100">
<label for="numero" class="form-label spaceLabel">Spaces you want letters to shift:</label>
<input type="text" class="form-control border-0 rounded-0" id="numero" type="text" autocomplete="off" name="offsetNumber" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1');">
</div>
</form>
</div>
<div class="container mt-5 justify-content-around">
<div class="row">
<div class="col text-center">
<p class="noTextWarning missingWarning"></p>
<button class="btn rounded-0 delButton encryptor px-5 encryptButton" onclick="recieveMessage();">Encrypt Text</button>
</div>
</div>
</div>
<div class="container mt-5">
<div class="row text-center">
<p id="encryptedActual" class="col text-center">Your encrypted message will appear here.</p>
</div>
</div>
<div id="referenceHint">
<p class="referenceHint">Type "turing" in the text field ;)</p>
</div>
<script src="script.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/2803e0bd27.js" crossorigin="anonymous"></script>
</body>
</html>