DEV Community

Ashish prajapati
Ashish prajapati

Posted on

๐Ÿงพ Build Your Own Modern Resume Builder with HTML, Tailwind CSS & JavaScript

Image description
Image description

Creating a professional resume shouldn't feel like a daunting task. Thatโ€™s why I built a sleek, responsive Resume Builder that allows anyone to craft beautiful resumes in minutes. Whether youโ€™re a student, developer, or job-seeker โ€” this tool is designed for you!


โœจ Key Features

โœ… 4 Unique Templates
โœ… Form-based Input Interface
โœ… PDF Export Functionality
โœ… Fully Responsive Design
โœ… Tailwind-Powered UI
โœ… Customizable & Open Source


๐Ÿ’ป Tech Stack

  • Frontend: HTML5, Tailwind CSS, JavaScript
  • PDF Library: html2pdf.js
  • Fonts: Google Fonts
  • Hosting: GitHub Pages

๐Ÿง  Why I Built This

I noticed many resume builders out there are either too complex or behind a paywall. So I asked myself:

"Why not build something simple, stylish, and open-source?"

And that's exactly what I did โ€” a free, modern resume builder anyone can use and customize.


๐Ÿ–ผ๏ธ Available Templates

  1. Sidebar Design โ€” Neatly organized layout with personal info on the side.
  2. Header Design โ€” Eye-catching header with a clean two-column format.
  3. Timeline Design โ€” Great for showcasing experience with a vertical timeline.
  4. Card Design โ€” Minimal card layout with hover animations and clean typography.

๐Ÿ“ฅ How It Works (Under the Hood)

๐Ÿงพ 1. User Input

<form id="resumeForm">
  <input type="text" id="name" placeholder="Full Name" required />
  <!-- More fields here -->
</form>
Enter fullscreen mode Exit fullscreen mode

๐ŸŽจ 2. Template Selection Logic

const template = document.getElementById('template').value;
window.location.href = `templates/${template}.html?${params}`;
Enter fullscreen mode Exit fullscreen mode

๐Ÿ“„ 3. PDF Generation

const opt = {
  margin: 0.2,
  filename: 'resume.pdf',
  image: { type: 'jpeg', quality: 0.98 },
  html2canvas: { scale: 2 },
  jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' }
};
html2pdf().set(opt).from(document.getElementById('resume-content')).save();
Enter fullscreen mode Exit fullscreen mode

๐Ÿ“ฑ Responsive Design Sample

.resume-container {
  width: 8.5in;
  min-height: 11in;
  margin: 0 auto;
  padding: 1in;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
Enter fullscreen mode Exit fullscreen mode

๐Ÿš€ Getting Started

git clone https://github.com/Anticoder03/resume-builder.git
cd resume-builder
open index.html  # or just double click the file
Enter fullscreen mode Exit fullscreen mode

Then, just fill the form and generate your PDF!


๐Ÿ—๏ธ Development Process

๐Ÿ”น Planning Phase

  • Defined user needs & ideal features
  • Created mockups & UI flows
  • Designed responsive breakpoints

๐Ÿ”น Development Phase

  • Built input form with Tailwind CSS
  • Added 4 switchable templates
  • Implemented html2pdf.js for download

๐Ÿ”น Testing & Optimization

  • Cross-browser & mobile tested
  • Print styles refined
  • PDF quality tuned

โš™๏ธ Challenges & Solutions

๐Ÿž PDF Rendering Glitches

Fixed by optimizing html2canvas settings and using useCORS.

๐Ÿ“ฑ Mobile Responsiveness

Used Tailwind's responsive classes and adjusted layout with breakpoints.

๐Ÿงช Form Data Validation

Implemented custom JS validation and feedback messages.

๐ŸŽญ Smooth Template Switching

Used fade transitions and lightweight rendering logic.


๐Ÿ”ฎ Future Plans

  • Dark Mode
  • More Templates
  • Multi-language Support
  • AI-Powered Resume Suggestions
  • Backend for Save/Edit functionality

๐Ÿ“š Key Learnings

โœ… Mastered responsive design & media queries
โœ… Gained practical experience with html2pdf.js
โœ… Understood how to collect, validate, and pass form data via query params
โœ… Refined UI/UX practices for web apps


๐Ÿ”— Useful Links


๐Ÿ™Œ Final Words

This project has been a labor of love โ€” merging functionality with elegant design. I hope it helps you or inspires your next side project!

If you found this helpful, consider giving it a โญ on GitHub or sharing it with friends.

Feel free to drop feedback or connect on LinkedIn!

Top comments (3)

Collapse
 
madhurima_rawat profile image
Madhurima Rawat

This looks great! โœจ One suggestion:
You could consider adding one more template that's ATS-friendly ๐Ÿ“ โ€” similar to the ones we usually create in Overleaf, with a clear heading followed by bullet-pointed descriptions ๐Ÿ“Œ.

Also, looking forward to the dark mode update! ๐ŸŒ™

Collapse
 
anticoder03 profile image
Ashish prajapati • Edited

Thank you so much! ๐Ÿ˜Š Thatโ€™s a great suggestion โ€” an ATS-friendly template with clear headings and bullet points would definitely be valuable, especially for those applying through online systems. Weโ€™ll look into adding one similar to the classic Overleaf-style layouts! ๐Ÿ“

And yes โ€” dark mode is on the way! ๐ŸŒ™ Thanks again for the thoughtful feedback. Anything else you'd love to see added?

Also, if you have any suggestions or improvements in mind, feel free to add a branch on GitHub โ€” the link is in the post. We'd love to see your ideas in action! ๐Ÿš€๐Ÿ’ก

Collapse
 
madhurima_rawat profile image
Madhurima Rawat

Definitely! Iโ€™ll open an issue or create a GitHub branch for any ideas or improvements I come up with. Best of luck with the project!