-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (57 loc) · 1.7 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
53
54
55
56
57
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./src/style.css" />
<script src="https://unpkg.com/typewriter-effect@latest/dist/core.js"></script>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<title>Poem Generator</title>
</head>
<body>
<div class="container">
<header>
<h1>AI Poem Generator</h1>
<h2>
Informed by the poetry of Li-Young Lee, Frank O'Hara, Yoko Ono and
Louise Glück
</h2>
</header>
<main>
<div class="form-wrapper">
<form id="poem-generator-form">
<input
type="search"
placeholder="Enter topic of poem"
required
autofocus
class="topic-input"
id="topic-input"
/>
<input
type="submit"
value="Write poem"
class="submit-btn"
id="submit-btn"
/>
</form>
<div class="hint">i.e. Peaches, Flowers, Sky</div>
</div>
<div class="poem invisible" id="poem"></div>
</main>
</div>
<footer>
This AI project was coded by
<a href="https://github.com/wwwavvves" target="_blank">Diana Guerreiro</a
>, open-sourced on
<a href="https://github.com/wwwavvves/poem-generator" target="_blank"
>GitHub</a
>
and hosted on
<a href="https://poem-generator-shecodes.netlify.app/" target="_blank"
>Netlify</a
>.
</footer>
<script src="./src/script.js"></script>
</body>
</html>