-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (46 loc) · 1.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Futurama Characters and Episodes</title>
<link rel="stylesheet" href="style.css" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div id="header">
<h1 class="h1">Futurama Characters and Episodes</h1>
</div>
<h2 class="titles">Characters</h2>
<div id="characters"></div>
<div id="create-char">
<h3>Add new Characters</h3>
<form id="charForm">
<label for="charName">Name</label>
<input type="text" id="charName" required />
<label for="charHome">Homeworld</label>
<input type="text" id="charHome" required />
<button type="submit">Create</button>
</form>
</div>
<h2 class="titles">Episodes</h2>
<div id="episodes"></div>
<div id="create-epi">
<h3>Add new episodes</h3>
<form id="epiForm">
<label for="epiTitle">Title</label>
<input type="text" id="epiTitle" required />
<label for="epiSeason">Season</label>
<input type="number" id="epiSeason" required />
<label for="epiEpisode">Episode</label>
<input type="number" id="epiEpisode" required />
<button type="submit">Create</button>
</form>
</div>
<script src="api-client.js"></script>
<script src="app.js"></script>
</body>
</html>