First commit

This commit is contained in:
Nyymix 2022-05-04 21:22:13 +03:00
parent bc42ea0a84
commit 60181114cd
3 changed files with 73 additions and 0 deletions

58
index.html Normal file
View file

@ -0,0 +1,58 @@
<!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">
<link rel="stylesheet" href="main.css">
<title>Virtual Keyboard</title>
</head>
<body>
<h1>Virtual Keyboard</h1>
<div class="wrapper">
<textarea id="transtxt" cols="30" rows="15" oninput="translit()"></textarea>
</div>
<div class="buttons">
<button value="й">й</button>
<button value="ц">ц</button>
<button value="у">у</button>
<button value="к">к</button>
<button value="е">е</button>
<button value="н">н</button>
<button value="г">г</button>
<button value="ш">ш</button>
<button value="щ">щ</button>
<button value="з">з</button>
<button value="х">х</button>
<button value="ъ">ъ</button>
<br>
<button value="ф">ф</button>
<button value="ы">ы</button>
<button value="в">в</button>
<button value="а">а</button>
<button value="п">п</button>
<button value="р">р</button>
<button value="о">о</button>
<button value="л">л</button>
<button value="д">д</button>
<button value="ж">ж</button>
<button value="э">э</button>
<button value="ё">ё</button>
<br>
<button value="cap">Caps</button>
<button value="я">я</button>
<button value="ч">ч</button>
<button value="с">с</button>
<button value="м">м</button>
<button value="и">и</button>
<button value="т">т</button>
<button value="ь">ь</button>
<button value="б">б</button>
<button value="ю">ю</button>
<button value="del">Backspace</button>
<br>
<button value=" ">&#8203;</button>
</div>
<script src="main.js" charset="utf-8"></script>
</body>
</html>

15
main.css Normal file
View file

@ -0,0 +1,15 @@
body {
font-size: medium;
background-color: #e5e5e5;
}
.wrapper {
padding: 20px;
margin: 5px 0;
background-color: #222222;
}
textarea {
font-size: 20px;
width: 100%;
}

0
main.js Normal file
View file