Skip to content

Commit

Permalink
Merge pull request #881 from Mohitranag18/achieve
Browse files Browse the repository at this point in the history
Add "Add Another" Button in Achievements and Certifications Section and Fix Data Reflection in Review and PDF
  • Loading branch information
GarimaSingh0109 authored Oct 29, 2024
2 parents 84eeb16 + 6f33d84 commit ce1bc75
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
7 changes: 6 additions & 1 deletion Resume.css
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,14 @@ body {
}
.achive{
display: flex;
justify-content: space-between;
flex-direction: column;
flex-wrap: wrap;
position: relative;
}
.achive-entry{
display: flex;
justify-content: space-between;
}
.achiveLeft{
width: 40%;
}
Expand Down
15 changes: 7 additions & 8 deletions Resume.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,13 @@ document.getElementById('add-achivement').addEventListener('click', function() {
newAchive.classList.add('achive-entry');
newAchive.innerHTML = `
<div class="achiveLeft">
<label>Heading:</label>
<input type="text" placeholder="e.g., Best Employee of the Year">
</div>
<div class="achiveRight">
<label>Description:</label>
<textarea id="achivedes" placeholder="Describe your achievement or certification"></textarea>
<p id="achivedesc"></p>
</div>
<label>Heading:</label>
<input type="text" placeholder="e.g., Best Employee of the Year">
</div>
<div class="achiveRight">
<label>Description:</label>
<textarea placeholder="Describe your achievement or certification"></textarea>
</div>
`;
achiveFields.appendChild(newAchive);
});
Expand Down

0 comments on commit ce1bc75

Please sign in to comment.