forked from Ducks404/IP-Assignment
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
153 lines (146 loc) · 6.93 KB
/
index.html
File metadata and controls
153 lines (146 loc) · 6.93 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<style type="text/css">
body{
padding:0;
margin: 0;
}
form {
width: 100%;
text-align:center;
text-align:top;
}
h3 {
font-family: Verdana;
}
main {
padding: 50px 50px;
}
.movielist img {
margin-right: 30px;
margin-bottom: 30px;
}
/* Media query for phone screens */
@media only screen and (max-width: 600px) {
main {
padding: 20px 20px;
}
.movielist img {
margin-right: 10px;
margin-bottom: 10px;
}
.search-container {
width: 100%;
}
.nav-bar {
display: flex;
flex-direction: column;
align-items: center;
}
.login-box {
display: none;
}
}
</style>
</head>
<body>
<header>
<div style="flex-grow: 1">
<figure>
<img alt="logo" title="MOViE LAND" width="300" src="images/logo.png" />
</figure>
</div>
<div style="flex-grow: 9">
<div class="search-container">
<img src="images/search.jpg" width="15" alt="Search" /> <input type="text" id="search-bar" placeholder="Type here to search..." style="width:60%;">
</div>
<div class="nav-bar">
<a href="index.html" class="nav-link">Home</a>
<a href="contact.html" class="nav-link">Contact Us</a>
<a href="#" class="nav-link">About us</a>
</div>
</div>
<div class="login-box">
<a href="login2.html" class="login-link"><img src="images/profile.jpg" width="20" alt="login_profile" /></a>
</div>
<div class="login-box">
<a href="login.html" class="login-link"><img src="images/signup.jpg" width="20" alt="settings" /></a>
</div>
</header>
<main>
<h3>Most popular</h3>
<div class="movielist">
<img src="https://upload.wikimedia.org/wikipedia/en/3/31/Outlander_title_card.jpg" width ="180" height="270" alt="Outlander">
<img src="https://upload.wikimedia.org/wikipedia/en/3/32/Traces_Title_Card.jpg" width="180" height="270" alt="Traces">
<img src="https://upload.wikimedia.org/wikipedia/en/a/a1/Title_card_for_the_US_TV_show_Suits.png" width="180" height="270" alt="Suits">
<img src="https://upload.wikimedia.org/wikipedia/en/c/c7/Now_You_See_Me_Poster.jpg" width= "180" height="270" alt="Now You See Me">
<img src="https://upload.wikimedia.org/wikipedia/en/2/29/Finding_Nemo.jpg" width= "180" height="270" alt="Finding Nemo">
<img src="https://m.media-amazon.com/images/I/71udAosnjdL._AC_UF350,350_QL50_.jpg" width= "180" height="270" alt="Django Unchained">
</div>
<h3>Now Showing</h3>
<div class="movielist">
<!-- This is the one movie used for example -->
<a href="movieDetails.html"><img src="https://www.cinema.com.my/images/movies/2024/7kungfupanda400_450.jpg" width="180" height="270" alt="Kung Fu Panda 4"></a>
<img src="https://resizing.flixster.com/-XZAfHZM39UwaGJIFWKAE8fS0ak=/v3/t/assets/p162782_p_v8_au.jpg" width="180" alt="Zodiac">
<img src="https://play-lh.googleusercontent.com/0z1wNGN5VkMEfl3XGT45A5Fyap5F5pdWyfisBMZCkf7-uxIuQcSjP7LqS-Wo7TGqCAiZ" width="180" alt="The Prestige">
<img src="https://upload.wikimedia.org/wikipedia/en/4/41/Quarantine2Poster.jpg" width="180" alt="Quarantine 2">
<img src="https://m.media-amazon.com/images/M/MV5BN2QyZGU4ZDctOWMzMy00NTc5LThlOGQtODhmNDI1NmY5YzAwXkEyXkFqcGdeQXVyMDM2NDM2MQ@@._V1_.jpg" width="180" alt="Dune: Part Two">
<img src="https://upload.wikimedia.org/wikipedia/en/d/d6/Five_Nights_At_Freddy%27s_poster.jpeg" width="180" height="270" alt="Five Nights at Freddy's">
</div>
<h3>Coming Soon</h3>
<div class="movielist">
<img src="https://upload.wikimedia.org/wikipedia/en/7/76/Shutterislandposter.jpg" width="180" alt="Shutter Island">
<img src="https://upload.wikimedia.org/wikipedia/en/6/63/Prisoners2013Poster.jpg" width="180" height="270" alt="Prisoners">
<img src="https://upload.wikimedia.org/wikipedia/en/e/ed/Mission-_Impossible_%E2%80%93_Dead_Reckoning_Part_One_poster.jpg" width="180" alt="Mission: Impossible Dead Reckoning: Part One">
<img src="https://static.wikia.nocookie.net/john-wick8561/images/4/4f/JW4_final_release_poster.jpg/revision/latest?cb=20230523074638" width="180" alt="John Wick 4">
<img src="https://upload.wikimedia.org/wikipedia/en/4/45/Collateral_%28Movie%29.jpg" width="180" alt="Collateral">
<img src="https://upload.wikimedia.org/wikipedia/en/2/2f/Morbius_%28film%29_poster.jpg" width="180" alt="Morbius">
</div>
</main>
<footer>
<div id="footer-top">
<div id="connect">
<h6><b>Connect with us</b></h6>
<p>Reach us at <a href="mailto:some_account!!!">*@gmail.com</a> or through our <a href="contact-us.html">online contact form</a>.</p>
<a href="youtube.com"><img src="images/youtube.jpg" width="40" alt="Youtube" /></a>
<a href="instagram.com"><img src="images/instagram.jpg" width="40" alt="Instagram" /></a>
<a href="facebook.com"><img src="images/facebook.jpg" width="40" alt="Facebook" /></a>
<a href="linkedin.com"><img src="images/linkedin.jpg" width="40" alt="Linkedin" /></a>
<a href="x.com"><img src="images/twitter.jpg" width="40" alt="X" /></a>
<p>Have questions, check our <a href="Frequent_questions.html">frequently asked questions</a>!</p>
</div>
<hr/>
<div id="member">
<h6><b>Become a member!</b></h6>
<p>Join our 500,000 community members and get a decent discount on your weekend's movie nights!</p>
<div class="form-box">
<form>
<label for="email">Email:</label>
<input type="email" id='email' name='email' placeholder='Enter your email address...' required>
<button type="submit">Subscribe</button>
</form>
</div>
</div>
</div>
<hr style="width:100%;margin:0;">
<div id="footer-bottom">
<div>
<figure>
<img alt="logo" title="MOViE LAND" width="200" src="images/logo.png" />
</figure>
</div>
<div id="extras">
<p><a href="About-us.html">About us</a></p>
<p><a href="Privacy_policy.html">Terms of use and privacy policy</a></p>
<p><u>Copyright © 2024 MOViE LAND</u></p>
</div>
</div>
</footer>
</body>
</html>