-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.html
105 lines (91 loc) · 4.45 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Experience Certificate Generator</title>
<link rel="stylesheet" href="styles.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.2/html2pdf.bundle.min.js"></script>
</head>
<body>
<header>
<h1>Experience Certificate Generator</h1>
<p>Create professional experience certificates quickly and easily.</p>
</header>
<main>
<section class="form-section">
<h2>Generate Certificate</h2>
<form id="certificate-form">
<div class="form-group">
<label for="employeeName">Employee Name:</label>
<input type="text" id="employeeName" name="employeeName" required>
</div>
<div class="form-group">
<label for="companyName">Company Name:</label>
<input type="text" id="companyName" name="companyName" required>
</div>
<div class="form-group">
<label for="duration">Duration:</label>
<input type="text" id="duration" name="duration" required>
</div>
<div class="form-group">
<label for="designation">Designation:</label>
<input type="text" id="designation" name="designation" required>
</div>
<button type="button" onclick="generateCertificate()">Generate Certificate</button>
</form>
</section>
<section class="certificate-section" id="certificate-section" style="display: none;">
<div id="certificate" class="a4">
<div class="header">
<img id="cert-logo" src="/Chrome-Gaming-Certification/google-ar21.svg" alt="Company Logo">
<p id="cert-date">Date</p>
</div>
<h2>Experience Certificate</h2>
<div id="cerdiv">
<p>This is to certify that <span id="cert-employeeName"></span> has worked as a <span
id="cert-designation"></span> at <span id="cert-companyName"></span> for a duration of <span
id="cert-duration"></span>.</p>
<p>During their tenure, they have demonstrated excellent performance and contributed significantly
to the success of our organization.</p>
<p>We wish them all the best in their future endeavors.</p>
</div>
<div class="signature-section">
<p><strong>Signature</strong></p>
<h3 id="cert-companyFullName"></h3>
</div>
<div class="footer">
<div class="footer-line" id="footer-address">
<p id="cert-officeAddress">Address: 1234 Elm Street, Suite 567, City, State, 12345</p>
</div>
<div class="footer-line" id="footer-info">
<p id="cert-cin">CIN: XjzxApW6mlV0MEDU7mCFO</p>
<p id="cert-website">Website: https://www.example.com</p>
<p id="cert-phoneNumber">Phone: +1 (123) 456-7890</p>
</div>
</div>
</div>
<button id="downloadBtn" onclick="downloadCertificate()">Download</button>
</section>
</main>
<footer>
<h2>Contact Us</h2>
<form id="contact-form">
<div class="form-group">
<label for="contactName">Your Name:</label>
<input type="text" id="contactName" name="contactName" required>
</div>
<div class="form-group">
<label for="contactEmail">Your Email:</label>
<input type="email" id="contactEmail" name="contactEmail" required>
</div>
<div class="form-group">
<label for="contactMessage">Your Message:</label>
<textarea id="contactMessage" name="contactMessage" required></textarea>
</div>
<button type="submit">Submit</button>
</form>
</footer>
<script src="script.js"></script>
</body>
</html>