-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
195 lines (195 loc) · 7.01 KB
/
index.html
File metadata and controls
195 lines (195 loc) · 7.01 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!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="css/style.css">
<link href="https://fonts.googleapis.com/css2?family=Bangers&display=swap" rel="stylesheet">
<title>Star Wars</title>
</head>
<body>
<header id="header" class="header section">
<a href="" class="logo">
<img
src="img/logo.png"
alt="Star wars logo"
id="header-img"
class="img-responsive logo"
>
</a>
<nav id="nav-bar">
<ul class="nav">
<li>
<a href="#saga" class="nav-link">Saga</a>
</li>
<li>
<a href="#trailer" class="nav-link">Trailer</a>
</li>
<li>
<a href="#newsletter" class="nav-link">Subscribe</a>
</li>
</ul>
</nav>
</header>
<main>
<section class="banner">
<img
src="img/banner.jpg"
alt="Star Wars poster"
class="banner-img"
>
</section>
<section id="saga" class="saga section">
<h2 class="section-title saga-title">Movies by release date!</h2>
<div class="saga-carousel">
<button class="saga-carousel-left saga-carousel-button">
<img src="img/left.svg" alt="Arrow pointing left" class="saga-carousel-icon" >
</button>
<ul class="saga-cards">
<li class="saga-card">
<div class="saga-card-img">
<img
src="img/a_new_hope.jpg"
alt="Star Wars - New Hope poster"
class="img-responsive"
>
</div>
<div class="saga-card-content">
<h3 class="saga-card-title">Star Wars: Episode IV - A New Hope</h3>
<p class="saga-card-release">1977</p>
</div>
</li>
<li class="saga-card">
<div class="saga-card-img">
<img
src="img/the_empire_strikes_back.jpg"
alt="Star Wars - The Empire Strikes Back poster"
class="img-responsive"
>
</div>
<div class="saga-card-content">
<h3 class="saga-card-title">Star Wars: Episode V - The Empire Strikes Back</h3>
<p class="saga-card-release">1980</p>
</div>
</li>
<li class="saga-card">
<div class="saga-card-img">
<img
src="img/return_of_the_jedi.jpg"
alt="Star Wars: Return of the Jedi poster"
class="img-responsive"
>
</div>
<div class="saga-card-content">
<h3 class="saga-card-title">Star Wars: Episode VI - Return of the Jedi</h3>
<p class="saga-card-release">1983</p>
</div>
</li>
<li class="saga-card">
<div class="saga-card-img">
<img
src="img/the_phantom_menace.jpg"
alt="Star Wars: The Phantom Menace poster"
class="img-responsive"
>
</div>
<div class="saga-card-content">
<h3 class="saga-card-title">Star Wars: Episode I – The Phantom Menace</h3>
<p class="saga-card-release">1999</p>
</div>
</li>
<li class="saga-card">
<div class="saga-card-img">
<img
src="img/attack_of_the_clones.jpg"
alt="Star Wars: Attack of the Clones poster"
class="img-responsive"
>
</div>
<div class="saga-card-content">
<h3 class="saga-card-title">Star Wars: Episode II – Attack of the Clones</h3>
<p class="saga-card-release">2002</p>
</div>
</li>
<li class="saga-card">
<div class="saga-card-img">
<img
src="img/revenge_of_the_sith.jpg"
alt="Star Wars: Revenge of the Sith poster"
class="img-responsive"
>
</div>
<div class="saga-card-content">
<h3 class="saga-card-title">Star Wars: Episode III - Revenge of the Sith</h3>
<p class="saga-card-release">2005</p>
</div>
</li>
<li class="saga-card">
<div class="saga-card-img">
<img
src="img/the_force_awakens.jpg"
alt="Star Wars: The Force Awakens poster"
class="img-responsive"
>
</div>
<div class="saga-card-content">
<h3 class="saga-card-title">Star Wars: Episode VII - The Force Awakens</h3>
<p class="saga-card-release">2015</p>
</div>
</li>
<li class="saga-card">
<div class="saga-card-img">
<img
src="img/the_last_jedi.jpg"
alt="Star Wars: The Last Jedi Poster"
class="img-responsive"
>
</div>
<div class="saga-card-content">
<h3 class="saga-card-title">Star Wars: Episode VIII - The Last Jedi</h3>
<p class="saga-card-release">2017</p>
</div>
</li>
<li class="saga-card">
<div class="saga-card-img">
<img
src="img/the_rise_of_skywalker.jpg"
alt="Star Wars: The Rise Of Skywalker poster"
class="img-responsive"
>
</div>
<div class="saga-card-content">
<h3 class="saga-card-title">Star Wars: Episode IX - The Rise Of Skywalker</h3>
<p class="saga-card-release">2019</p>
</div>
</li>
</ul>
<button class="saga-carousel-right saga-carousel-button">
<img src="img/right.svg" alt="Arrow pointing right" class="saga-carousel-icon" >
</button>
</div>
</section>
<section id="trailer" class="trailer section">
<h2 class="section-title trailer-title">All Star Wars Movies Trailer</h2>
<div class="trailer-video">
<iframe id="video" src="https://www.youtube.com/embed/FDXmcZ1_D-o" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</div>
</section>
</main>
<section id="newsletter" class="newsletter section">
<h2 class="newsletter-title">Subscribe to our newsletter</h2>
<form action="https://www.freecodecamp.com/email-submit" id="form" class="newsletter-form" method="POST">
<div class="newsletter-skew">
<input type="email" name="email" id="email" class="form-input newsletter-input" placeholder="Enter your email" required>
</div>
<div class="newsletter-skew">
<input type="submit" id="submit" class="form-submit newsletter-submit" value="Subscribe">
</div>
</form>
</section>
<footer class="footer">
<p>© 2020 All right reserved. May the force be with you.</p>
</footer>
<script src="js/script.js"></script>
</body>
</html>