forked from Anuragjais189/webathon3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
registration.html
141 lines (129 loc) · 5.53 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Asterisk Registration</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- Custom CSS -->
<style>
body {
background-image: url(background.png);
}
.container {
margin-top: 50px;
}
.form-container {
background-color: #3A3737;
color: #ffffff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.navbar{
color: white;
z-index: 1;
}
.nav-link{
color: white;
position: relative;
font-size: large;
}
.nav-link::before{
content: "";
position: absolute;
transform: scaleX(0);
width: 100%;
height: 2px;
background: #f53163;
transition: all 0.6S ease;
bottom: 0;
left: 0;
}
.nav-link:hover::before{
transform: scaleX(1);
}
.nav-link:hover{
color: #f53163;
}
</style>
</head>
<body>
<!-- <script>
function check() {
var fname=document.getElementById("firstName").value.trim();
var lname=document.getElementById("lastName").value.trim();
var address=document.getElementById("residentialAddress").value.trim();
var email=document.getElementById("email").value.trim();
if (fname===""||lname===""|| address===""||email==="") {
alert("Please fill out all the entries");
}
}
</script> -->
<nav class="navbar navbar-expand-md" style="color: white;">
<a href="" class="navbar-brand fs-3 ms-3"><img src="Astrisk2 Logo.png" height="50px" width="120px"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#btn">
<i class="bx bx-menu" style="color: aliceblue;"></i>
</button>
<div class="collapse navbar-collapse" id="btn" style="color: white;margin-left: 600px ;" >
<ul class="navbar-nav ms-auto" style="color: white;">
<li class="nav-item" ><a href="home.html" class="nav-link mx-3">Home</a></li>
<li class="nav-item" ><a href="#register" class="nav-link mx-3">Register</a></li>
<li class="nav-item" ><a href="mainimage.png" class="nav-link mx-3"> Quiz</a></li>
<li class="nav-item" ><a href="#" class="nav-link mx-3">About me</a></li>
</ul>
</div>
</nav>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6 form-container">
<h2 class="text-center mb-4">Register with Asterisk</h2>
<form id="contactForm">
<div class="form-row">
<div class="form-group col-md-6">
<label for="firstName">First Name</label>
<input type="text" class="form-control" id="firstName" placeholder="Enter your first name">
</div>
<div class="form-group col-md-6">
<label for="lastName" id="validationCustomUsername" aria-describedby="inputGroupPrepend" required>Last Name</label>
<input type="text" class="form-control" id="lastName" placeholder="Enter your last name">
</div>
</div>
<div class="form-group">
<label for="email">Email address</label>
<input type="email" class="form-control" id="email" placeholder="Enter your email">
</div>
<div class="form-group">
<label for="residentialAddress">Residential Address</label>
<textarea class="form-control" id="residentialAddress" placeholder="Enter your residential address"></textarea>
</div>
<div class="form-group bm-2">
<label for="experience">Experience (Years)</label>
<select class="form-control" id="experience">
<option value="0">0 years</option>
<option value="1">1 year</option>
<option value="2">2 years</option>
<option value="3">3 years</option>
</select>
<br>
<button type="submit" class="btn btn-primary btn-block" onclick="check()">Register</button>
</form>
</div>
</div>
</div>
<center><footer style="color: aliceblue;">
<p>© 2024 Asterisk. All rights reserved.</p>
<p>
<a href="https://github.com/yourusername" target="_blank" style="text-decoration: none; color: #f53163;" ><i class="fa fa-github" style="text-decoration: none; color: #f53163; font-size: x-large;"></i></a> |
<a href="https://wa.me/1234567890" target="_blank" style="text-decoration: none; color: #f53163;"><i class="fa fa-linkedin-square" style="text-decoration: none; color: #f53163; font-size: x-large;"></i></a>
</p>
<hr class="white-hr">
</footer></center>
<script src="https://cdnjs.cloudflare.com/ajax/libs/firebase/7.14.1-0/firebase.js"></script>
<script src="./mail.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>