-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.html
123 lines (108 loc) · 5.38 KB
/
register.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
<!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>Register Here</title>
<link rel="icon" href="./files/logo.png">
<link rel="stylesheet" type="text/css" href="css/style.css">
<!-- <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Paytone+One&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<link rel="stylesheet"
href="https://unpkg.com/boxicons@latest/css/boxicons.min.css"> -->
</head>
<body class="register-body">
<nav>
<img src="./files/logo.png" class="logo" alt="Logo" title="FirstFlight Travels">
<ul class="navbar">
<li>
<a href="./index.html">Home</a>
<a href="./index.html#locations">Locations</a>
<a href="./index.html#package">Packages</a>
<a href="./about.html">About Us</a>
<a href="./contact.html">Contact Us</a>
</li>
</ul>
</nav>
<section class="registration">
<div class="register-form">
<h1>Register <span>Here</span></h1>
<form action="" onsubmit="return validateform()">
<input type="text" name="myname1" placeholder="Name" id="name" required>
<input type="email" name="myemail" placeholder="Email-Id" id="" required>
<input type="tel" name="myphone" placeholder="Phone No." id="phonenum" required>
<input type="number" name="myage" placeholder="Age" id="" required>
<h4>Gender</h4>
<input type="radio" name="mygender" id="" required> Male
<input type="radio" name="mygender" id=""> Female
<h4>Departure</h4>
<input type="datetime-local" name="departuredate" id="" required>
<h4>Return</h4>
<input type="datetime-local" name="returndate" id="" required>
<h4>Travel Destination</h4>
<input type="checkbox" name="td" id=""> Kashmir
<input type="checkbox" name="td" id=""> Istanbul
<input type="checkbox" name="td" id=""> Paris
<input type="checkbox" name="td" id=""> Bali
<input type="checkbox" name="td" id=""> Dubai
<input type="checkbox" name="td" id=""> Geneva
<input type="checkbox" name="td" id=""> Port Blair
<input type="checkbox" name="td" id=""> Rome
<br> <br>
<h4>Package</h4>
<input type="radio" name="locations" id="loc1" required> Bronze
<input type="radio" name="locations" id="loc1"> Silver
<input type="radio" name="locations" id="loc1"> Gold
<input type="radio" name="locations" id="loc1"> Platinum
<br> <br>
<input type="checkbox" name="t&c" id="" checked required> I accept the Terms & Conditions.
<br> <br>
<input type="submit" value="Submit" class="submitbtn">
</form>
</div>
</section>
<!-- Footer -->
<section class="footer">
<div class="foot">
<div class="footer-content">
<div class="footlinks">
<h4>Quick Links</h4>
<ul>
<li><a href="./register.html">Register</a></li>
<li><a href="./about.html">About Us</a></li>
<li><a href="./contact.html">Contact Us</a></li>
</ul>
</div>
<div class="footlinks">
<h4>Connect</h4>
<div class="social">
<a href="https://www.facebook.com/raushan.sharma.39395?mibextid=ZbWKwL" target="_blank"><i class='bx bxl-facebook'></i></a>
<a href="https://instagram.com/raushan_sharma1511?igshid=ZDdkNTZiNTM=" target="_blank"><i class='bx bxl-instagram' ></i></a>
<a href="https://twitter.com/raushan_kr15?t=lNfXRsuqZn_GkX1lxOhUZg&s=08" target="_blank"><i class='bx bxl-twitter' ></i></a>
<a href="https://twitter.com/raushan_kr15?t=lNfXRsuqZn_GkX1lxOhUZg&s=08" target="_blank"><i class='bx bxl-linkedin' ></i></a>
</div>
</div>
</div>
</div>
<div class="end">
<p>Copyright © 2023 Firstflight Travels All Rights Reserved.<br>Website developed by: Raushan kumar</p>
</div>
</section>
<!-- Javascript -->
<script>
function validateform(){
var tel=document.getElementById("phonenum").value;
if(tel.length<10){
alert("Phone number must be of atleast 10 digits!");
return false;
} else if(isNaN(tel)){
alert("Phone number should not include character!");
return false;
}
return true;
}
</script>
</body>
</html>