JimmyK300 commited on
Commit
2c3130c
·
verified ·
1 Parent(s): f5b6445

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +18 -17
index.html CHANGED
@@ -1,20 +1,21 @@
1
  <!doctype html>
2
  <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <input class="input" placeholder="Translate text...">
12
- <input class="input" placeholder="Type current language...">
13
- <input class="input" placeholder="Type result language...">
14
- <button class="button">Translate</button>
15
- </div>
16
- <div class="card">
17
- Result...
18
- </div>
19
- </body>
 
20
  </html>
 
1
  <!doctype html>
2
  <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width" />
6
+ <title>My Translator</title>
7
+ <link rel="stylesheet" href="style.css" />
8
+ </head>
9
+ <body>
10
+ <div class="card">
11
+ <input class="input" id="text" placeholder="Enter text to translate...">
12
+ <input class="input" id="from" placeholder="Enter source language (e.g., en)...">
13
+ <input class="input" id="to" placeholder="Enter target language (e.g., vi)...">
14
+ <button class="button" id="translate">Translate</button>
15
+ </div>
16
+ <div class="card" id="result">
17
+ Translation result will appear here...
18
+ </div>
19
+ <script src="script.js"></script>
20
+ </body>
21
  </html>