-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (47 loc) · 1.66 KB
/
index.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Interactive Education Tool</title>
<link rel="stylesheet" href="https://unpkg.com/chota@latest" />
<link
rel="icon"
href="https://icons8.com/icon/WHR4QveRLHXp/anchor"
type="image/x-icon"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<section class="intro container">
<h1>Hidden Figures</h1>
<h2>
Using machine learning, learn about 3 NASA engineers by asking questions
about their lives!
</h2>
<button disabled>Loading...</button>
</section>
<main id="content" class="container">
<section class="selection">
<h1>Who would you like to learn about?</h1>
<section class="buttons">
<button class="figure">Katherine Johnson</button>
<button class="figure">Dorothy Vaughan</button>
<button class="figure">Mary Jackson</button>
</section>
</section>
<section class="question">
<label for="question"></label>
<input type="text" name="question" placeholder="Who was she?" />
<button class="ask">Ask</button>
</section>
<section class="answer-block">
<p class="input-question"></p>
<p class="answer"></p>
</section>
</main>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs/dist/tf.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/qna"></script>
<script src="./index.js"></script>
</body>
</html>