- Регистрация
- 1 Мар 2015
- Сообщения
- 1,481
- Баллы
- 155
? 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
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: </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
git init
git add .
git commit -m "Initial commit: Resume using HTML and CSS"
git remote add origin
git push -u origin master
? GitLab Repository
?
? What I Learned
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
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: </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
- 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
- Make it mobile-friendly with media queries
- Add a download PDF button
- Add animations or transitions with CSS