Calculator Tools Calculator Tools
Create

CV Writing App

Nov 14, 2023

About this app

Create a professional CV with our easy-to-use CV writing app.

CV Writing App CV Writing App First Name: Last Name: Email: Phone: Education: Experience: Generate CV

Related apps

Put this on your site

Source

                    <html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">

<title>CV Writing App</title>
<meta name="description" content="Create a professional CV with our easy-to-use CV writing app.">
<meta name="keywords" content="CV, resume, job, application, career">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;1,400;1,600&display=swap" rel="stylesheet">

<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.

// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
// Function to handle form submission
function handleSubmit(event) {
event.preventDefault();

// Get the form data
const firstName = document.getElementById('firstName').value;
const lastName = document.getElementById('lastName').value;
const email = document.getElementById('email').value;
const phone = document.getElementById('phone').value;
const education = document.getElementById('education').value;
const experience = document.getElementById('experience').value;

// Display the CV
const cvContainer = document.getElementById('cvContainer');
cvContainer.innerHTML = `
<h2>${firstName} ${lastName}</h2>
<p>Email: ${email}</p>
<p>Phone: ${phone}</p>
<h3>Education</h3>
<p>${education}</p>
<h3>Experience</h3>
<p>${experience}</p>
`;
}

// Add event listener to form submit
const form = document.getElementById('cvForm');
form.addEventListener('submit', handleSubmit);
});

} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>

<style>
body {
font-family: 'Montserrat', sans-serif;
background-color: #f5f5f5;
}

.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
}

h1 {
text-align: center;
margin-bottom: 20px;
}

form {
background-color: #ffffff;
padding: 20px;
border-radius: 5px;
}

.form-control {
margin-bottom: 10px;
}

.btn-primary {
background-color: #007bff;
border-color: #007bff;
transition: background-color 0.3s ease;
}

.btn-primary:hover {
background-color: #0069d9;
border-color: #0069d9;
}

#cvContainer {
margin-top: 20px;
background-color: #ffffff;
padding: 20px;
border-radius: 5px;
}

#cvContainer h2 {
text-align: center;
margin-bottom: 10px;
}

#cvContainer p {
margin-bottom: 10px;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>CV Writing App</h1>

<form id="cvForm">
<div class="form-group">
<label for="firstName">First Name:</label>
<input type="text" class="form-control" id="firstName" required>
</div>
<div class="form-group">
<label for="lastName">Last Name:</label>
<input type="text" class="form-control" id="lastName" required>
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" class="form-control" id="email" required>
</div>
<div class="form-group">
<label for="phone">Phone:</label>
<input type="tel" class="form-control" id="phone" required>
</div>
<div class="form-group">
<label for="education">Education:</label>
<textarea class="form-control" id="education" rows="3" required></textarea>
</div>
<div class="form-group">
<label for="experience">Experience:</label>
<textarea class="form-control" id="experience" rows="3" required></textarea>
</div>
<button type="submit" class="btn btn-primary">Generate CV</button>
</form>

<div id="cvContainer"></div>
</div>
</body>
</html>