projekt-7/Script_Speech_recognition/stranka.html

37 lines
1.0 KiB
HTML
Raw Normal View History

2024-10-21 09:51:56 +00:00
<!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>
2024-10-21 09:54:39 +00:00
<!-- Prepojenie s css -->
2024-10-21 09:51:56 +00:00
<link rel="stylesheet" href="style_dark.css">
<!-- <link rel="stylesheet" href="style_light.css"> -->
<link rel="stylesheet" href="progress_bar.css">
</head>
<body>
<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>