-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
102 lines (82 loc) · 3.32 KB
/
index.html
File metadata and controls
102 lines (82 loc) · 3.32 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
<!-- <!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="style.css">
<title>Form Validation</title>
</head>
<body>
<div class="container">
<form class="c1" action="Heloo">
<h2 style="margin: 30px;">Fill The Admission Form</h2>
<input class="i1"type="text" name="" id="" placeholder="Enter Your Name"><br>
<input class="i1"type="text" name="" id="" placeholder="Enter Your EmailID"><br>
<input class="i1"type="number" name="" id="" placeholder="Enter Mob No"><br>
<input class="i1"type="text" name="" id="" placeholder="Enter Job Roll"><br>
<button class="sub" onclick=""><span style="margin: 20px; color: aliceblue;">Submit</span></button>
</form> -->
<!-- Sign-up Form
<form id="signupForm">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<label for="mobNo">Mobile Number:</label>
<input type="text" id="mobNo" name="mobNo" required>
<button type="submit">Sign Up</button>
</form>
Login Form
<form id="loginForm">
<label for="loginEmail">Email:</label>
<input type="email" id="loginEmail" name="loginEmail" required>
<label for="loginPassword">Password:</label>
<input type="password" id="loginPassword" name="loginPassword" required>
<button type="submit">Log In</button>
</form>
</div>
<script src="script.js"></script>
</body>
</html> -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Signup & Login</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div id="signupForm">
<form id="signup" action="#">
<div class="form-header">
<h2>Sign Up</h2>
</div>
<label for="email">Email:</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required />
<label for="password">Password:</label>
<input type="password" id="password" name="password" placeholder="Enter your password" required />
<label for="mobNo">Mobile Number:</label>
<input style="margin-bottom: 15px;" type="mobNo" id="mobNo" name="mobNo" required placeholder="Enter your Mobile Number"/>
<button type="submit">Sign Up</button>
<p>Already have account? <a href="#" id="goToLogin">Login here</a></p>
</form>
</div>
<div id="loginForm" style="display: none;">
<form id="login" action="#">
<div class="form-header">
<h2>Login</h2>
</div>
<label for="email">Email:</label>
<input type="email" id="loginEmail" name="email" placeholder="Enter your email" required />
<label for="password">Password:</label>
<input type="password" id="loginPassword" name="password" placeholder="Enter your password" required />
<button type="submit">Login</button>
<p>Don't have an account? <a href="#" id="goToSignup">Sign Up here</a></p>
</form>
</div>
</div>
<script src="script.js"></script>
</body>
</html>