mirror of
https://github.com/hexahigh/games.git
synced 2025-12-11 20:15:38 +01:00
added margin to the base64 encoder
This commit is contained in:
parent
cb2ede062c
commit
c3deeff6cb
@ -5,16 +5,18 @@
|
||||
</head>
|
||||
|
||||
<body style="background: #27282c;">
|
||||
<div style="margin-left: 5em;">
|
||||
<h1 style="color: #ffffff;">Encode/decode data to base64</h1>
|
||||
<form>
|
||||
<label style="color: #ffffff;">Input data</label><br>
|
||||
<textarea style="background: #343538; color: #ffffff;" value="" rows="6" cols="80" id="input" required></textarea><br>
|
||||
<button class="button" style="--color:#1e9bff; background: bottom;"type="button" onclick="doencode();">Encode</button>
|
||||
<button type="button" style="--color: #ff1867; background: bottom;" class="button" onclick="dodecode();">Decode</button><br>
|
||||
<button type="button" style= "--color: #ff1867; margin-left: 2em; background: bottom;" class="button" onclick="dodecode();">Decode</button><br>
|
||||
<label style="color: #ffffff;">Output</label><br>
|
||||
<textarea style="background: #343538; color: #ffffff;" id="output" rows="6" cols="80" readonly></textarea><br>
|
||||
<button class="button" type="button" id="copy" style="--color:#1e9bff; background: bottom;" onclick="docopy();">Copy</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function docopy() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user