-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
97 lines (90 loc) · 2.46 KB
/
login.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
<!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: black;
color: white;
}
#container{
display: flex;
flex-direction: row;
}
form{
width: 10%;
}
input{
margin-top: 15%;
padding:15px;
border-radius: 10px;
}
#register-form{
margin-left: 300px;
margin-top: 20px;
}
button{
margin-top:20px;
width:21%;
border-radius: 10px;
background-color: green;
padding: 15px;
font-size: large;
cursor: pointer;
}
button:hover{
background-color: orange;
}
a[href]{
font-size: 40px;
color: green;
text-decoration: none;
font-weight: bold;
font-family: sans-serif;
}
#login-form{
margin-right: 20px;
}
#login-form button{
width:65%
}
#login-form input{
margin-top: 15px;
}
#g{
text-decoration: none;
color: black;
font-size: large;
}
</style>
</head>
<body>
<a href="index.html">Hotstar</a>
<div id="container">
<div id="register-form">
<form>
<h1>Register</h1>
<input type="text" id="name" placeholder="Enter Name">
<input type="text" id="email" placeholder="email">
<input type="password" id="password" placeholder="password">
<input type="text" id="username" placeholder="username">
<input type="number" id="mobile" placeholder="mobile Number">
<input type="text" id="description" placeholder="description">
</form>
<button onclick="Register()">Register</button>
</div>
<div id="login-form">
<form>
<h1>Login</h1>
<input type="text" id="login-username" placeholder="username">
<input type="password" id="login-password" placeholder="password">
</form>
<button onclick="Login()"><a id="g" href="index.html">Login</a></button>
</div>
</div>
</body>
</html>
<script src="login.js"></script>