38 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			38 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_dark.css">
 | |
|     <!-- <link rel="stylesheet" href="style_light.css"> -->
 | |
|     <link rel="stylesheet" href="progress_bar.css">
 | |
|     <style>
 | |
|         
 | |
|     </style>
 | |
| </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> |