-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
181 lines (167 loc) · 5.75 KB
/
form.html
File metadata and controls
181 lines (167 loc) · 5.75 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
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<style>
form {
background-color:#4a98f7;
height: 600px;
width:380px;
position:absolute;
margin: auto;
left:0;
right:0;
top: 0;
bottom: 0;
border-radius: 10px;
padding: 30px 70px;
box-shadow: 0px 0px 20px 10px rgba(72, 67, 67, 0.067);
overflow-y:scroll;
overflow-x:hidden;
scrollbar-width: none;
}
form * {
border:none;
outline:none;
font-family:"Poppins",sans-serif;
font-weight: 500;
font-size: 13px;
border-radius:4px;
}
input, textarea {
display:block;
height: 35px;
width: calc(100% -40px);
background-color:#fff;
padding:0 15px;
cursor:pointer;
}
textarea {
padding: 10px;
height:70px;
}
label {
display:block;
color:#e5e5e5;
font-size:15px;
margin-top:10px;
}
form h1 {
text-align: center;
margin-bottom: 20px;
color:#e5e5e5;
font-size: 30px;
}
form p {
color:#e5e5e5;
}
#submit {
margin-left:25px;
width: 330px;
position:fixed;
bottom:40px;
padding: 12px 0;
background-color:blur;
color:#fff;
border-radius:20px;
cursor:pointer;
background : linear-gradient(
to top,
rgba(147, 143, 143, 0.15),
rgb(255, 255, 255, 0.15)
);
backdrop-filter: blur(25px);
box-shadow: 0px 0px 20px 10px rgba(125, 111, 111, 0.25);
}
#invitations {
display:block;
width:120px;
height: 35px;
margin: -35px 220px 20px;
border-radius:4px;
background-color:#fff;
color:#7a7777;
cursor:pointer;
}
#submit:hover,#invitations:hover {
box-shadow: 0px 0px 40px 10px rgb(0, 0, 0, 0.25);
transition: box-shadow 0.3s ease;
}
input[type="radio"] {
display:inline-block ;
width: 12px;
margin-right:10px;
}
.radio-group {
flex-wrap: wrap;
align-items: center;
margin-bottom:30px;
}
.radio-group label {
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
}
#radio-button {
width: 16px;
height: 16px;
}
#budgetValue {
color:#e5e5e5;
}
input[type="range"] {
-webkit-appearance: none;
width: 100%;
height: 8px;
border-radius: 5px;
background: linear-gradient(to right, #b4b8b4, #ffffff); /* Green to Blue gradient */
outline: none;
opacity: 0.9;
margin:0;
padding:0;
transition: opacity 0.2s;
}
</style>
</head>
<body>
<form action="/submit-form" method="post">
<h1>Book Your Slot</h1>
<label for="name">Name of the Oraganizer:</label><br>
<input type="text" id="name" autocomplete="Name" placeholder="Enter Your Name"/><br><br>
<label for="Email">Email:</label><br>
<input type="email" id="email" autocomplete="Email" placeholder="Enter Email"><br><br>
<label for="Address">Address:</label><br>
<textarea placeholder="Enter Address"></textarea><br><br>
<label for="Country">Country:</label><br>
<input type="text" id="Country" autocomplete="Country" placeholder="Enter Country"><br><br>
<label for="ZIP Code">ZIP Code:</label><br>
<input type="number" id="ZIP Code" autocomplete="ZIP Code" placeholder="Enter ZIP Code"><br><br>
<label for="Event">Event Type:</label><br>
<div class="radio-group">
<label><input type="radio" id="radio" name="event" value="wedding"><text>Wedding</text></label>
<label><input type="radio" id="radio" name="event" value="birthday"><text>Birthday Celebration</text></label>
<label><input type="radio" id="radio" name="event" value="festival"><text>Festival</text></label>
<label><input type="radio" id="radio" name="event" value="corporate"><text>Corporate Event</text></label>
<label><input type="radio" id="radio" name="event" value="press"><text>Press Inquiry</text></label>
</div>
<label for="Date">Date of the Event:</label><br>
<input type="date" id="Date"><br><br>
<label for="Budget">Range of the Budget:</label><br>
<input type="range" id="budgetRange" min="10000" max="2500000" step="10000" value="50000" oninput="updateBudgetValue(this.value)">
<span id="budgetValue">₹25,00,000</span><br><br>
<label for="list">Count For The Guest:</label><br>
<input type="text" id="list" placeholder="Enter The Count">
<button id="invitations">Send Invitations</button>
<button id="submit">Submit</button>
</form>
<script>
function updateBudgetValue(value) {
document.getElementById("budgetValue").textContent = `₹${Number(value).toLocaleString()}`;
}
</script>
</body>
</html>