Online Resume Builder
br<
br>
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
}
.resume-container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #ffffff;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
/* Style your resume fields here */
#download-btn {
display: block;
margin: 20px auto;
padding: 10px 20px;
background-color: #3498db;
color: #ffffff;
border: none;
border-radius: 5px;
cursor: pointer;
}
#download-btn:hover {
background-color: #2980b9;
}
// Add event listener to the download button
document.getElementById("download-btn").addEventListener("click", () => {
// Generate PDF and trigger download here
// You can use a library like jsPDF to create the PDF
// Example: https://parall.ax/products/jspdf
// Example code to create a simple PDF using jsPDF
const doc = new jsPDF();
doc.text("Your Resume Content Here", 10, 10);
doc.save("resume.pdf");
});
No comments:
Post a Comment