-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
28 lines (25 loc) · 825 Bytes
/
popup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<title>Language Translator</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="logo-container">
<img src="icons/logo.jpg" alt="Extension Logo" class="logo">
</div>
<label for="inputText">Text to Translate:</label>
<textarea id="inputText" placeholder="Enter text here..." spellcheck="false"></textarea>
<label for="languageSelect">Target Language:</label>
<select id="languageSelect">
<option value="es">Spanish</option>
<option value="fr">French</option>
<option value="en">English</option>
<option value="de">German</option>
<!-- Add more languages as needed -->
</select>
<button id="translateButton">Translate</button>
<p id="translatedText"></p>
<script src="popup.js"></script>
</body>
</html>