Add Transliteration checkbox

This commit is contained in:
Nyymix 2025-08-12 22:07:29 +03:00
parent e4b564773d
commit 706f105456
2 changed files with 43 additions and 113 deletions

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -7,13 +8,16 @@
<link rel="stylesheet" href="main.css">
<title>Translite</title>
</head>
<body>
<h1>Translite</h1>
<div class="wrapper">
<textarea id="transtxt" cols="30" rows="15" oninput="translit()"></textarea>
</div>
<input type="checkbox" id="translitCheckbox" onchange="toggleTranslit()" checked> Transliteration
<button onclick="copytxt()">Copy text</button>
<button onclick="cleartxt()">Clear text</button>
<script src="main.js" charset="utf-8"></script>
</body>
</html>