-
Notifications
You must be signed in to change notification settings - Fork 1
/
registration.html
72 lines (62 loc) · 3.96 KB
/
registration.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
<!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>Registration</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/all.css" integrity="sha384-SZXxX4whJ79/gErwcOYf+zWLeJdY/qpuqC4cAa9rOGUstPomtqpuNWT9wdPEn2fk" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<script src="https://www.gstatic.com/firebasejs/8.2.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.2/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.2/firebase-database.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.2/firebase-storage.js"></script>
</head>
<body class="registration-body">
<div class="container-register">
<div class="left">
<img src="images/registration image.jpg" alt="">
</div>
<div class="right">
<form action="" class="registration-form" onsubmit="submitStudentData(event)">
<h2 class="head">STUDENT REGISTRATION FORM</h2>
<!-- <hr> -->
<div class="element ele">
<label for="name"><i class="fas fa-user icon"></i> Full Name<span style = "color : rgb(218, 0, 0);">*</span></label>
<input type="text" name = "name" placeholder="Your Name" required id = "name">
</div>
<div class="element ele">
<label for="uid"><i class="fas fa-id-badge icon"></i> UID<span style = "color : rgb(218, 0, 0);">*</span></label>
<input type="text" name = "uid" placeholder="Your UID" required id = "uid">
</div>
<div class="element ele">
<label for="dob"><i class="far fa-calendar-alt icon"></i> DOB<span style = "color : rgb(218, 0, 0);">*</span></label>
<input type="date" name = "dob" placeholder="Your Date of Birth" required id = "dob">
</div>
<div class="element ele">
<label for="email"><i class="fas fa-envelope icon"></i> Email ID<span style = "color : rgb(218, 0, 0);">*</span></label>
<input type="email" name = "email" placeholder="Your email id" required id = "email">
</div>
<div class="element ele">
<label for="mobile"><i class="fas fa-phone-square-alt icon"></i> Mobile No.<span style = "color : rgb(218, 0, 0);">*</span></label>
<input type="tel" name="mobile" placeholder="Your mobile no." required id = "mobile" pattern="[0-9]{10}" title = "mobile no. should be of 10 digits">
</div>
<div class="element ele">
<label for="pwd"><i class="fas fa-lock icon"></i> Password<span style = "color : rgb(218, 0, 0);">*</span></label>
<input type="password" name="pwd" id="pwd" placeholder="Your Password" required id = "pwd">
</div>
<div class="element ele">
<label for="confirm-pwd"><i class="fas fa-lock icon"></i> Confirm Password<span style = "color : rgb(218, 0, 0);">*</span></label>
<input type="password" name="confirm-pwd" id="confirm-pwd" placeholder="Confirm password" required>
</div>
<div class="element ele">
<label for="img"><i class="fas fa-image icon"></i> Upload Image<span style = "color : rgb(218, 0, 0);">*</span></label>
<input type="file" id="uploadimg" name="img" accept=".jpg,.jpeg" style="padding-left : 0;" required>
</div>
<button class="btn btn-register" type="submit">Submit</button>
</form>
</div>
</div>
<script src="script.js"></script>
</body>
</html>