-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
172 lines (154 loc) · 5.96 KB
/
index.html
File metadata and controls
172 lines (154 loc) · 5.96 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<title>Spartapedia</title>
<link href="https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap" rel="stylesheet">
<style>
* {
font-family: 'Gowun Dodum', sans-serif;
}
.mytitle {
width: 100%;
height: 250px;
background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://movie-phinf.pstatic.net/20210715_95/1626338192428gTnJl_JPEG/movie_image.jpg');
background-position: center;
background-size: cover;
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.mytitle>button {
width: 200px;
height: 50px;
background-color: transparent;
color: white;
border-radius: 50px;
border: 1px solid white;
margin-top: 10px;
}
.mytitle>button:hover {
background-color: white;
color: black;
}
.mycard {
margin: 20px auto 0px auto;
width: 95%;
max-width: 1200px;
}
.mycomment{
color: gray;
}
.mypost{
width: 95%;
max-width: 500px;
margin: 20px auto 0px auto;
padding: 20px;
box-shadow: 0px 0px 3px 0px gray;
}
.mybtns{
display: flex;
flex-direction: row;
margin-top: 20px;
align-items: center;
justify-content: center;
}
.mybtns > button{
margin-right: 10px;
}
</style>
<script>
function hey(){
alert('Hello')
}
</script>
</head>
<body>
<div class="mytitle">
<h1>My favorite movies</h1>
<button>Save a new movie</button>
</div>
<div class="mypost">
<div class="form-floating mb-3">
<input type="text" class="form-control" id="floatingInput" placeholder="Enter Movie URL">
<label for="floatingInput">Movie URL</label>
</div>
<div class="input-group mb-3">
<span class="input-group-text" id="basic-addon1">Stars</span>
<select class="form-select" aria-label="Default select example">
<option selected>-- Select a rating --</option>
<option value="1">⭐</option>
<option value="2">⭐⭐</option>
<option value="3">⭐⭐⭐</option>
<option value="4">⭐⭐⭐⭐</option>
<option value="5">⭐⭐⭐⭐⭐</option>
</select>
</div>
<div class="form-floating">
<textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea2" style="height: 100px"></textarea>
<label for="floatingTextarea2">Comment</label>
</div>
<div class="mybtns">
<button onclick="hey()" type="button" class="btn btn-dark">Save</button>
<button type="button" class="btn btn-outline-dark">Close</button>
</div>
</div>
<div class="mycard">
<div class="row row-cols-1 row-cols-md-4 g-4">
<div class="col">
<div class="card h-100">
<img src="https://m.media-amazon.com/images/M/MV5BNDYxNjQyMjAtNTdiOS00NGYwLWFmNTAtNThmYjU5ZGI2YTI1XkEyXkFqcGdeQXVyMTMxODk2OTU@._V1_.jpg" class="card-img-top" alt="imageMovies">
<div class="card-body">
<h5 class="card-title">Amazing Movie</h5>
<p class="card-text">This is a fake description of this graet movie!!</p>
<p>⭐⭐⭐</p>
<p class="mycomment">This is my comment hahaha lolol</p>
</div>
</div>
</div>
<div class="col">
<div class="card h-100">
<img src="https://m.media-amazon.com/images/M/MV5BNDYxNjQyMjAtNTdiOS00NGYwLWFmNTAtNThmYjU5ZGI2YTI1XkEyXkFqcGdeQXVyMTMxODk2OTU@._V1_.jpg" class="card-img-top" alt="imageMovies">
<div class="card-body">
<h5 class="card-title">Amazing Movie</h5>
<p class="card-text">This is a fake description of this graet movie!!</p>
<p>⭐⭐⭐</p>
<p class="mycomment">This is my comment hahaha lolol</p>
</div>
</div>
</div>
<div class="col">
<div class="card h-100">
<img src="https://m.media-amazon.com/images/M/MV5BNDYxNjQyMjAtNTdiOS00NGYwLWFmNTAtNThmYjU5ZGI2YTI1XkEyXkFqcGdeQXVyMTMxODk2OTU@._V1_.jpg" class="card-img-top" alt="imageMovies">
<div class="card-body">
<h5 class="card-title">Amazing Movie</h5>
<p class="card-text">This is a fake description of this graet movie!!</p>
<p>⭐⭐⭐</p>
<p class="mycomment">This is my comment hahaha lolol</p>
</div>
</div>
</div>
<div class="col">
<div class="card h-100">
<img src="https://m.media-amazon.com/images/M/MV5BNDYxNjQyMjAtNTdiOS00NGYwLWFmNTAtNThmYjU5ZGI2YTI1XkEyXkFqcGdeQXVyMTMxODk2OTU@._V1_.jpg" class="card-img-top" alt="imageMovies">
<div class="card-body">
<h5 class="card-title">Amazing Movie</h5>
<p class="card-text">This is a fake description of this graet movie!!</p>
<p>⭐⭐⭐</p>
<p class="mycomment">This is my comment hahaha lolol</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>