-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (39 loc) · 1.59 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="flex-parent">
<div class="widget">
<h1>Cryptoquote Finite State Machine</h1>
<input type="text" class="fullwidth" id="message" name="message (alpha only)" placeholder="Message"
required="required">
<div class="flex-parent">
<input class="flex-child" type="text" id="key" name="key" placeholder="Enter 26 unique chars"
required="required" />
<i id=randomize class="fa-solid fa-shuffle flex-child"></i>
<!-- example: qwertyuiopasdfghjklzxcvbnm -->
</div>
<select id="my-select"
style="width: 100%; height: 2rem; border: grey 1px solid; background-color: transparent; color: white; margin-bottom: 1rem;">
<option style="background-color: black;" value="encode">Encode</option>
<option style="background-color: black;" value="decode">Decode</option>
</select>
<button type="button" class="btn btn-primary btn-block btn-large">Run machine</button>
<h3>Message:</h3>
<p id=new> </p>
<h3>key:</h3>
<p id=displayKey> </p>
</div>
<!-- <img src="./mealy.png" style="max-block-size: 9rem;"> -->
</div>
<script src="./script.js" async defer></script>
<script src="https://kit.fontawesome.com/b62de7119f.js" crossorigin="anonymous"></script>
</body>
</html>