π Building a Resume with HTML & CSS and Sharing It on GitLab
Today I created a beautiful and responsive resume using HTML and CSS, and Iβm excited to share that I also pushed it to GitLab! This small project helped me practice frontend development while building something useful for my career.
π‘ Project Objective
To design a simple resume using only HTML and CSS, structure the content professionally, and upload it to GitLab for sharing and version control.
π» Technologies Used
- HTML5 β for creating the structure of the resume
- CSS3 β for styling and layout
- Git & GitLab β for version control and hosting
π Folder Structure
resume/
β
βββ index.html
βββ style.css
βββ README.md
π§± HTML Code β index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Resume</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="resume">
<header>
<h1>John Doe</h1>
<p>Back-End Developer | Java | MySQL</p>
</header>
<section class="contact">
<h2>Contact</h2>
<ul>
<li>Email: johndoe@example.com</li>
<li>Phone: +91-1234567890</li>
<li>GitLab: https://gitlab.com/username/resume</li>
</ul>
</section>
<section class="education">
<h2>Education</h2>
<p><strong>Bachelor of Technology in Computer Science</strong><br>XYZ University, 2024</p>
</section>
<section class="skills">
<h2>Skills</h2>
<ul>
<li>Core Java</li>
<li>Advanced Java</li>
<li>MySQL</li>
<li>HTML, CSS</li>
</ul>
</section>
<section class="projects">
<h2>Projects</h2>
<p><strong>Petshop Web App</strong> β A web application using Java, MySQL, HTML/CSS/JS.</p>
</section>
</div>
</body>
</html>
π¨ CSS Code β style.css
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
.resume {
max-width: 800px;
margin: 20px auto;
background-color: white;
padding: 30px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
header {
text-align: center;
margin-bottom: 30px;
}
header h1 {
margin: 0;
font-size: 2em;
}
section {
margin-bottom: 20px;
}
section h2 {
color: #333;
border-bottom: 1px solid #ccc;
padding-bottom: 5px;
}
ul {
list-style: none;
padding-left: 0;
}
ul li {
margin: 5px 0;
}
π How I Pushed It to GitLab
- Initialize a git repository:
git init
- Add files to staging:
git add .
- Commit the changes:
git commit -m "Initial commit: Resume using HTML and CSS"
- Add GitLab remote:
git remote add origin https://gitlab.com/username/resume.git
- Push to GitLab:
git push -u origin master
π GitLab Repository
π What I Learned
- Writing clean and structured HTML
- Styling with CSS for professional layout
- Using Git and GitLab for version control
π Next Steps
- Make it mobile-friendly with media queries
- Add a download PDF button
- Add animations or transitions with CSS
Top comments (0)