-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoffers.html
More file actions
42 lines (37 loc) · 1.47 KB
/
offers.html
File metadata and controls
42 lines (37 loc) · 1.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Special Offers</title>
<link rel="stylesheet" href="offers.css">
</head>
<body>
<div class="container">
<h1>Special Offers</h1>
<div class="offer" id="purchase-offer">
<h2>Purchase Offers</h2>
<button onclick="generateCoupon('purchase')">Generate Coupon</button>
<p id="purchase-coupon"></p>
</div>
<div class="offer" id="student-offer">
<h2>Student Offers</h2>
<button onclick="generateCoupon('student')">Generate Coupon</button>
<p id="student-coupon"></p>
</div>
<div class="offer" id="birthday-offer">
<h2>Birthday Offers</h2>
<input type="date" id="birthday-input" placeholder="Enter your DOB">
<button onclick="validateBirthday()">Generate Coupon</button>
<p id="birthday-coupon"></p>
</div>
<div class="offer" id="anniversary-offer">
<h2>Anniversary Offers</h2>
<input type="date" id="anniversary-input" placeholder="Enter your Anniversary Date">
<button onclick="validateAnniversary()">Generate Coupon</button>
<p id="anniversary-coupon"></p>
</div>
</div>
<script src="offers.js"></script>
</body>
</html>