Create index.html
Browse files- index.html +24 -0
index.html
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// index.js
|
2 |
+
<!DOCTYPE html>
|
3 |
+
<html lang="en">
|
4 |
+
<head>
|
5 |
+
<meta charset="UTF-8">
|
6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
+
<title>Transformer Sentiment Analyzer</title>
|
8 |
+
<link rel="stylesheet" href="style.css">
|
9 |
+
</head>
|
10 |
+
<body>
|
11 |
+
<header>
|
12 |
+
<h1>Transformer Sentiment Analyzer</h1>
|
13 |
+
</header>
|
14 |
+
<main class="container">
|
15 |
+
<form id="analyze-form">
|
16 |
+
<label for="inputText">Enter text to analyze:</label>
|
17 |
+
<textarea id="inputText" name="inputText" rows="4" placeholder="Type your text here..." required aria-required="true"></textarea>
|
18 |
+
<button type="submit" id="analyzeButton">Analyze Sentiment</button>
|
19 |
+
</form>
|
20 |
+
<section id="result" aria-live="polite"></section>
|
21 |
+
</main>
|
22 |
+
<script type="module" src="index.js"></script>
|
23 |
+
</body>
|
24 |
+
</html>
|