-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbitCool.html
More file actions
48 lines (48 loc) · 2.41 KB
/
bitCool.html
File metadata and controls
48 lines (48 loc) · 2.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bit Manipulation Encoder/Decoder</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Bit Manipulation Encoder/Decoder">
<meta name="author" content="ahmetSahiner">
<meta name="keywords" content="Data manipulation, String to binary, Converter, binary to string, bitmap">
<link rel="stylesheet" href="bitCool.css">
</head>
<body>
<div class="container">
<h1>Bit Manipulation Encoder/Decoder</h1>
<!-- Input Section for Text -->
<div class="input-section">
<label for="inputText">Input Text:</label>
<input type="text" id="inputText" placeholder="Enter text to encode...">
<div class="button-section">
<button id="encodeBtn">Encode</button>
<button id="scrambleBtn">Scramble Text</button>
<button id="clearTextBtn">Clear</button>
</div>
</div>
<!-- Input Section for Decimal -->
<div class="input-section">
<label for="inputDecimal">Input Decimal:</label>
<textarea id="inputDecimal" placeholder="Enter Integer Encoded Value (Decimal) to decode..."></textarea>
<div class="button-section">
<button id="decodeBtn">Decode</button>
<button id="clearDecimalBtn">Clear</button>
</div>
</div>
<!-- Output Section -->
<div class="output-section">
<h2>Results</h2>
<p><strong>Input Text:</strong> <span id="inputTextResult" style="color: #ff0000; font-weight: bold;"></span></p>
<p><strong>Scrambled Text:</strong> <span id="scrambledText" style="color: #169df7; font-weight: bold;"></span>
<button id="descrambleBtn">Descramble Text</button>
</p>
<p><strong>Descrambled Text:</strong> <span id="descrambledText" style="color: #169df7; font-weight: bold;"></span></p>
<p><strong>Encoded Value (Decimal):</strong> <span id="encodedValue" style="color: #ff0000; font-weight: bold;"></span></p>
<p><strong>Decoded Text:</strong> <span id="decodedText" style="color: #1eff00; font-weight: bold;"></span></p>
</div>
</div>
<script src="bitCool.js"></script>
</body>
</html>