-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmessage.html
More file actions
119 lines (100 loc) · 4.45 KB
/
message.html
File metadata and controls
119 lines (100 loc) · 4.45 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Message Me</title>
<link rel="stylesheet" href="message.css">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
</head>
<body>
<div class="nav-container">
<nav class="navbar">
<div class="logo">
<img src="./proj/LOGO.jpg" alt="">
</div>
<ul class="nav-menu">
<li><a href="home.html">Home</a></li>
<li><a href="#">Menu</a></li>
<li><a href="about.html" target="_main">About</a></li>
<li><a href="">Contact</a></li>
<li><a href="#" id="open-reservation">Reservation</a></li>
</ul>
</nav>
</div>
<!--MODAL FOR RESERVATION -->
<div id="reservation-modal" class="modal">
<div class="modal-content">
<span class="close-btn">×</span>
<h2>Reservation Form</h2>
<form id="reservation-form">
<label for="guest-name">Name:</label>
<input type="text" id="guest-name" name="guest-name" placeholder="Enter your name" required>
<label for="guest-number">Number of Guests:</label>
<input type="number" id="guest-number" name="guest-number" placeholder="Enter number of guests" required>
<label for="booking-time">Timing:</label>
<input type="time" id="booking-time" name="booking-time" required>
<label for="event-type">Booking For:</label>
<select id="event-type" name="event-type">
<option value="birthday">Birthday Party</option>
<option value="farewell">Farewell</option>
<option value="kitty party">Kitty Party</option>
<option value="reception">Reception</option>
<option value="other">Other</option>
</select>
<input type="submit" value="Book Now">
</form>
</div>
</div>
<main>
<form action="https://api.web3forms.com/submit" method="POST">
<div class="form-content">
<input type="hidden" name="access_key" value="96e639a4-de3b-4ac9-95aa-826b905850c4">
<h1>Message Us</h1>
<div class="name">
<input type="text" name="name" placeholder="Your Name" required>
</div>
<div class="email">
<input type="text" name="email" placeholder="Your email">
</div>
<div class="msg">
<input type="text" name="message" placeholder="Give Feedback" >
</div>
<div class="submit">
<button type="submit">Submit</button>
</div>
</div>
</form>
<div class="heading"></div>
<p>Our Social Platforms</p>
</div>
<div id="social">
<span><i class='bx bxl-instagram'></i> <a href="https://www.instagram.com/royalrasoi._/" target="_blank">Instagram</a></span><br>
<span><i class='bx bxl-youtube'></i> <a href="https://www.youtube.com/@Himanshumishra3071" target="_blank">Youtube</a></span><br>
<span><i class='bx bxl-linkedin'></i> <a href="https://www.linkedin.com/in/faizzkhann/" target="_blank">Linkedin</a></span><br>
</div>
<footer>
<p>- developed with love by Mern Batch G13 -</p>
</footer>
</main>
<footer>
<p>- developed with love by Mern Batch G13 -</p>
</footer>
<script>
var modal = document.getElementById("reservation-modal");
var openReservationBtn = document.getElementById("open-reservation");
var closeBtn = document.getElementsByClassName("close-btn")[0];
openReservationBtn.onclick = function() {
modal.style.display = "flex";
}
closeBtn.onclick = function() {
modal.style.display = "none";
}
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</body>
</html>