-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (66 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
72
73
74
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Shareable Resume</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<h1>Shareable Resume Builder</h1>
<form id="resume-form">
<!-- Personal Information -->
<fieldset>
<legend>Personal Information</legend>
<label for="name">Name:</label>
<input type="text" id="name" required />
<label for="email">Email:</label>
<input type="email" id="email" required />
</fieldset>
<!-- Education -->
<fieldset>
<legend>Education</legend>
<label for="degree">Degree:</label>
<input type="text" id="degree" required />
<label for="school">School/University:</label>
<input type="text" id="school" required />
<label for="gradYear">Graduation Year:</label>
<input type="number" id="gradYear" required />
</fieldset>
<!-- Work Experience -->
<fieldset>
<legend>Work Experience</legend>
<label for="jobTitle">Job Title:</label>
<input type="text" id="jobTitle" required />
<label for="company">Company:</label>
<input type="text" id="company" required />
<label for="years">Years of Experience:</label>
<input type="number" id="years" required />
</fieldset>
<!-- Skills -->
<fieldset>
<legend>Skills</legend>
<label for="skills">Skills (comma separated):</label>
<input type="text" id="skills" required />
</fieldset>
<button type="submit">Generate Resume</button>
</form>
<hr />
<!-- Dynamic Editable Resume Display -->
<div id="resume">
<div id="resume-content"></div>
</div>
<!-- Shareable Link and PDF Download -->
<div id="share-section">
<button id="copy-link-btn">Copy Shareable Link</button>
<a id="shareable-link" href="#" target="_blank" style="display: none"
>View Shareable Resume</a
>
<button id="download-btn">Download PDF</button>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.3/html2pdf.bundle.min.js"></script>
<script src="main.js" defer></script>
</div>
</body>
</html>