projekt-7/Script_Speech_recognition/stranka.html

37 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html lang="sk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Jednoduchý Prekladač</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="progress_bar.css">
</head>
<body>
<!-- Theme toggle icon button -->
<button id="themeToggleBtn" title="Switch Theme">🌞</button>
<h1>Jednoduchý Prekladač s Rozpoznávaním Reči</h1>
<div class="container">
<!-- Textové pole na zadanie textu -->
<textarea id="inputText" placeholder="Enter text"></textarea>
<!-- Textové pole pre preklad -->
<textarea id="translatedText" placeholder="Translation"></textarea>
</div>
<!-- Tlačidlo pre mikrofón -->
<br>
<button id="startBtn">🎤</button>
<div id="timerDisplay"></div>
<p id="statusText"></p>
<!-- Pripojenie skriptov -->
<script src="kontrola_api.js"></script>
<script src="speech_recognition.js"></script>
</body>
</html>