-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (65 loc) · 2.08 KB
/
index.html
File metadata and controls
69 lines (65 loc) · 2.08 KB
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
<!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>Convert text to 7 seg display</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="background-image">
<div class="pageTitleContainer">
<h1 id="pageTitle">Text Decoder for Seven Segment Display:</h1>
<h3>
Enter some text or numbers and get hex and binary that can be written
to a seven segment display!
</h3>
</div>
</div>
<div class="center">
<div class="converterContainer">
<div class="item1">
<h2>Enter text here:</h2>
</div>
<div class="item2"></div>
<!-- this is blank space for even grid -->
<div class="item3">
<h2>Result:</h2>
</div>
<div class="item4">
<textarea id="stringInput"></textarea>
</div>
<div class="item5">
<div class="selectMode">
<h3>Select Mode:</h3>
<select name="mode" id="mode">
<option value="Common Anode">Common Anode</option>
<option value="Common Cathode">Common Cathode</option>
</select>
</div>
<input class="btn" type="button" id="convert" value="Convert" />
</div>
<div class="item6">
<p id="result">The result text will go here</p>
</div>
</div>
</div>
<!-- <div class="center"> THIS IS THE USE EXAMPLE IT NEEDS TO BE FORMATTED
<div class="useExampleContainer">
<h3>Use Example:</h3>
<h3>Enter:</h3>
<p>Text: "IGEN"</p>
<p>Mode: "Common Cathode"</p>
<h3>Result:</h3>
<p>
I => Binary: 1001111, Hex: 4FH <br />
G => BinaryL 1000010, Hex: 42H <br />
E => Binary: 0000110, Hex: 6H <br />
N => Binary: 0101011, Hex: 2BH
</p>
</div>
</div> -->
<script src="seven_seg_converter.js"></script>
</body>
</html>