Professional Documents
Culture Documents
01 Abstract
02 Introduction
05 Design
07 Useful links
Abstract
Resume Generator is a web-based application developed using JavaScript. The
project is used for generating resume. It contains two forms one is for user to
take input from user after the user takes all the data from the user the first from
will hide and second visible it will contain all the data entered by user in a well-
structured format now the user will also be able to print that format. This is how
to project works basically. It is build using the basic concepts of JavaScript and
the structure this project and proper design we have user HTML5, CSS3 and
Bootstrap 4.
Introduction
It is an application that simplifies the task of creating a resume for individuals.
The system is flexible to be used and reduces the need of thinking and
designing an appropriate resume according to qualifications. The system is
developed to provide an easy means for creating a professional looking resume.
Individuals just must fill up a form that specifies questions from all required
fields such as personal questions, educational, qualities, interest, skills and so
on. The answers provided by the users are stored and the system automatically
generates a well-structured resume. Users have option to create resume in any
format and file.
Design
Desktop View:
Mobile view:
Code & Output
HTML Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?
family=Open+Sans:wght@300&display=swap" rel="stylesheet">
<!-- favicon link -->
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<!-- styles -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65Vohhp
uuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<title>Resume Generator</title>
</head>
<body>
<div class="container" id="cv-form">
<h1 class="text-center my-2">Resume Generator</h1>
<!-- <p>by kunal bandale</p> -->
<div class="row">
<div class="col-md-6">
<h3>personal information</h3>
<div class="form-group mt-3">
<label for="nameField">* Your Name</label>
<input type="text" id="nameField" class="form-control" placeholder="write
your name..">
</div>
<div class="form-group mt-3">
<label for="contactField">* Your Phone no.</label>
<input type="text" id="contactField" class="form-control"
placeholder="91xxxxxxx">
</div>
<div class="form-group mt-3">
<label for="addressField">* Your Address</label>
<textarea type="text" id="addressField" class="form-control" rows="5"
placeholder="enter here..."></textarea>
</div>
<div class="container">
<p id="nameT1">Kunal Bandale</p>
<p id="contactT">+91233434343</p>
<p id="addressT">nanded city,India</p>
<hr>
<p><a id="fbT" href="#">facebook</a></p>
<p><a id="instaT" href="#">instagram</a></p>
<p><a id="linkedT" href="#">Linkdin</a></p>
</div>
</div>
/* #cv-form {
display: none;
} */
/* cv template */
#cv-template {
display: none;
}
.myImg {
border-radius: 50%;
width: 200px;
}
.background {
background-color: aqua;
}
h3 {
text-decoration:underline;
color:blueviolet;
}
h1 {
color: cornflowerblue;
font-weight: bolder;
}
JS CODE:
function addNewWEField() {
let newNode = document.createElement("textarea");
newNode.classList.add("form-control");
newNode.classList.add("weField");
newNode.classList.add("mt-3");
newNode.setAttribute("placeholder", "Enter here..");
newNode.setAttribute("rows", 3);
weOb.insertBefore(newNode, weAddButtonOb);
}
function addNewAQField() {
let newNode = document.createElement("textarea");
newNode.classList.add("form-control");
newNode.classList.add("eqField");
newNode.classList.add("mt-3");
newNode.setAttribute("placeholder", "Enter here..");
newNode.setAttribute("rows", 3);
aqOb.insertBefore(newNode, aqAddButtonOb);
}
// generating CV
function generateCV() {
let nameField = document.getElementById("nameField").value;
nameT1.innerHTML = nameField
// direct
document.getElementById("nameT2").innerHTML = nameField;
// contact
document.getElementById("contactT").innerHTML =
document.getElementById("contactField").value;
// address
document.getElementById("addressT").innerHTML =
document.getElementById("addressField").value;
// links
document.getElementById("fbT").innerHTML =
document.getElementById("fbField").value;
document.getElementById("instaT").innerHTML =
document.getElementById("instaField").value;
document.getElementById("linkedT").innerHTML =
document.getElementById("linkedField").value;
// objective
document.getElementById("objectiveT").innerHTML =
document.getElementById("objectiveField").value;
// work exp..
let wes = document.getElementsByClassName("weField");
let str = "";
// acdemic qulaification
let aqs = document.getElementsByClassName("eqField");
let str1 = "";
// -------------
var ph = /^\d{10}$/;
if((contactField.value.match(ph))) {
document.getElementById("cv-template").style.display = "block";
document.getElementById("cv-form").style.display = "none";
return true
} else {
alert("Please Enter a valid Phone Number");
}
// printcv
function printCV() {
window.print();
}
OUTPUT:
Useful Links
Project Code
https://github.com/kunalbandale/cv-generator