JimmyK300 commited on
Commit
070aca1
·
verified ·
1 Parent(s): ad2723f

Update index.html

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