-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFACEBOOK Page.html
226 lines (195 loc) · 5.78 KB
/
FACEBOOK Page.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
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body {
background-color: rgb(236, 241, 245);
}
@media (max-width:375px){
.form1{
display: block;
}
.form{
display: block;
}
#box{
display: block;
}
.tagline{
display: flex;
}
}
.fb {
font-family: klavika-web-disp-cond, sans-serif;
color: #1f62f4;
font-weight: 600;
font-size: 61px;
margin-top: 201px;
margin-left: 263px;
padding-bottom: 20px;
text-shadow: 1px 2px 2px rgb(187, 187, 187);
/* animation-name: fb;
animation-duration: 10s;
animation-iteration-count: infinite;
}
@keyframes fb {
from(
width:100px;
)
to(
width:1000px;
)
*/
}
.tagline {
font-family: Arial, Helvetica, sans-serif;
font-size: 27px;
display: flex;
/* text-align: center; */
margin-left: 266px;
}
.form1 {
display: flex;
flex-direction: column;
width: 350px;
height: 320px;
/* border: 2px solid red; */
box-shadow: 1px 1px 2px 4px rgb(226, 226, 226);
padding: 15px;
border-radius: 4px;
}
.form {
background-color: white;
display: inline-block;
position: relative;
left: 830px;
bottom: 250px;
border-radius: 4px
}
.email {
height: 40px;
border-radius: 5px;
background-color: white;
margin: 8px;
border-style: hidden;
box-shadow: -.5px -.5px;
}
.password {
height: 40px;
border-radius: 5px;
background-color: white;
margin: 8px;
border-style: hidden;
box-shadow: -.5px -.5px;
}
.login {
background-color: #1877f2;
margin: 10px;
padding: 4px;
color: white;
font-size: 17px;
font-weight: bold;
border-radius: 10px;
height: 45px;
border-style: hidden;
box-shadow: -.5px -.5px;
}
.login:hover {
cursor: pointer;
}
.forgot {
border-style: none;
text-align: center;
color: #1877f2;
padding: 8px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
text-decoration: none;
font-size: 14px;
/* box-shadow: -.5px -.5px; */
/* width:45px ; */
/* text-decoration: none; */
}
.forgot:hover {
cursor: pointer;
text-decoration: underline;
}
hr {
border: .5px solid rgb(230, 224, 224);
width: 300px;
left: 0px;
}
.new {
width: 169px;
height: 45px;
background-color: rgb(2, 134, 2);
color: white;
font-weight: bold;
font-size: 15px;
border-radius: 10px;
padding: 4px;
margin-left: 90px;
margin-top: 15px;
}
.new:hover {
background-color: rgb(43, 183, 96);
transition-property: background-color;
transition-duration: 4s;
cursor: pointer;
}
.celeb{
left: 200500px;
display: inline;
left: 500px;
}
</style>
</head>
<body>
<div id="box">
<div class="fb">
facebook
</div>
<div class="tagline">
Facebook helps you connect and share<br> with the people in your life.
</div>
</div>
<div class="form">
<form class="form1">
<input class="email" type="email" placeholder="Email adress or phone number">
<input class="password" type="password" placeholder="Password">
<input class="login" type="submit" value="Log in">
<a class="forgot" href="">Forgotten Password?</a>
<!-- <input class="forgot" type="button" value="Forgotten Password?"> -->
<hr>
<input class="new" type="button" value="Create new account ">
</form>
</div>
<!-- <p class="celeb"><a class="celeb" href="">Create a Page </a>for a celebrity, brand or business.</p> -->
<script>
// let deletepost= confirm("ARE YOU SURE YOU WANT TO DELETE THE POST");
// if (deletepost)
// {
// console.log("Deleted successfully")
// }
// else{
// console.log("NOT DELETED")
// }
// let a= prompt("Enter Your Name :");
// console.log(a);
// alert("YOUR SITE HAS BEEN HACKED!!!!")
let user=prompt("Enter Your Age:")
if(user>18)
{
console.log("You're Allowed")
let allow=alert("ALLOWED")
}
else{
console.log("Not Allowed")
let not=alert("Not Allowed")
}
</script>
</body>
</html>