-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (56 loc) · 2.48 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ID Card and Badge Generator | Soumya</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="formContainer" class="container">
<h1>ID Card Generator</h1>
<form id="badgeForm">
<label for="eventName">Event Name</label>
<input type="text" id="eventName" required>
<label for="name">Person Name:</label>
<input type="text" id="name" required>
<label for="designation">Designation:</label>
<input type="text" id="designation" required>
<label for="company">Company Name:</label>
<input type="text" id="company" required>
<label for="access">Access Level:</label>
<select id="access" required>
<option value="Attendee">Attendee</option>
<option value="VIP">VIP</option>
<option value="Volunteer">Volunteer</option>
</select>
<button type="submit">Generate Your ID</button>
</form>
</div>
<div id="badge" class="badge">
<div class="badge-header">
<h1 id="badgeEvent"></h1>
</div>
<div class="badge-body">
<h2 id="badgeName"></h2>
<p id="badgeDesignation"></p>
<h3 id="badgeContainer"></h3>
</div>
<div id="qrcode" class="badge-qr"></div>
<div class="badge-footer">
<p id="badgeAccess"></p>
</div>
</div>
<button id="downBadge" class="downBadge">Download ID Card</button>
<button id="createBadge" class="createBadge">Create Another ID Card</button>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html-to-image/1.11.11/html-to-image.js"></script>
<script src="script.js"></script>
<footer class="footer">
Made with <span class="heart">❤️</span> by
<a href="https://www.instagram.com/s0umy4_xd" target="_blank">Soumya</a>
</footer>
</body>
</html>