-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
109 lines (98 loc) · 4.55 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- To prevent Error With Permissions-policy Header: Unrecognized Feature: ‘Interest-cohort’ error -->
<meta http-equiv="”Permissions-Policy”" content="”interest-cohort" ="()”" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="shortcut icon" href="assets/star-wars.svg" type="image/svg+xml" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link href="https://fonts.googleapis.com/css?family=Inter" rel="stylesheet" />
<title>Welcome to the world of StarWars</title>
</head>
<body>
<nav>
<a href="#" id="logo-icon"> </a>
<ul class="menu-list">
<a href="#">
<li>films</li>
</a>
<a href="#planets">
<li>planets</li>
</a>
<a href="#people">
<li>people</li>
</a>
<!-- To be buit in future -->
<!-- <a href="#species">
<li>species</li>
</a>
<a href="#starships">
<li>starships</li>
</a>
<a href="#vehicles">
<li>vehicles</li>
</a> -->
</ul>
</nav>
<section class="section" id="films">
<h1>Welcome to the world of <span>Star Wars</span></h1>
<div class="film-wrapper">
<div class="film-list">
<h3 id="film-catalog">Film list</h3>
<ul id="fList"></ul>
</div>
<div class="film-details" id="film-details"></div>
</div>
</section>
<section class="section" id="planets">
<div class="planet-wrapper" id="planet-wrapper">
<div class="planet-list">
<h3 id="film-catalog">Planet list</h3>
<ul id="pList"></ul>
<button id="add-planet">Add Planet</button>
</div>
<div class="planet-details" id="planet-details">
<form class="planet-form" id="pForm">
<h4>Add a new planet</h4>
<input class="planet-input" type="text" name="name" id="planet_name" placeholder="Earth" required />
<input class="planet-input" type="text" name="population" id="planet_population" placeholder="8,163,741,283 humans" />
<input class="planet-input" type="text" name="gravity" id="planet_gravity" placeholder="Planet gravity" />
<input class="planet-input" type="text" name="diameter" id="planet_diameter" placeholder="Planet diameter (km)" />
<input class="planet-input" type="text" name="orbital_period" id="orbital_period" placeholder="Orbital period" />
<input class="planet-input" type="text" name="rotation_period" id="rotation_period" placeholder="Rotation period" />
<input class="planet-input" type="text" name="climate" id="climate" placeholder="Climate" />
<input class="planet-input" type="text" name="terrain" id="terrain" placeholder="Terrain" />
<input class="planet-input" type="text" name="surface_water" id="surface_water" placeholder="Surface water - 48" />
<input class="planet-input" type="submit" value="Add new planet" id="submit_planet" />
</form>
<span class="saved-planet">Planet saved ✅</span>
</div>
</div>
</section>
<section class="section" id="people">
<div class="people-wrapper">
<h4>Top characters:</h4>
<ul class="people-list" id="people-list"></ul>
<form class="search-container">
<input type="text" placeholder="Search character" id="search_input" />
<input type="submit" value="🔍" id="submit-search" />
</form>
<h5 id="character-error">Character not found! Try again</h5>
<div class="people-details" id="people-details"></div>
</div>
</section>
<!-- To be built in future -->
<!-- <section class="section" id="species">species</section>
<section class="section" id="starships">starships</section>
<section class="section" id="vehicles">vehicles</section> -->
<footer>
<p>Made with <span class="heart">❤️</span></p>
<blockquote>aseDesign ©️ <span id="yearD"></span></blockquote>
</footer>
<script src="index.js">
Species
</script>
</body>
</html>