Below is an HTML code for a modern and beautiful one-page portfolio website tailored for an MBA Data Science professional. It includes sections such as About, Skills, Projects, Experience, and Contact. The design uses modern CSS with a clean and professional layout.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MBA Data Science Portfolio</title>
<style>
/* General Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
background-color: #f9fafb;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
h1, h2, h3 {
color: #2c3e50;
}
a {
text-decoration: none;
color: #3498db;
}
a:hover {
text-decoration: underline;
}
/* Header Section */
header {
background: linear-gradient(135deg, #3498db, #2980b9);
color: white;
padding: 50px 0;
text-align: center;
}
header h1 {
font-size: 3rem;
margin-bottom: 10px;
}
header p {
font-size: 1.2rem;
margin-bottom: 20px;
}
header .social-links a {
margin: 0 10px;
font-size: 1.5rem;
color: white;
}
/* About Section */
section {
padding: 50px 0;
}
.about {
display: flex;
align-items: center;
gap: 40px;
}
.about img {
width: 200px;
height: 200px;
border-radius: 50%;
object-fit: cover;
border: 5px solid #3498db;
}
.about-text {
max-width: 600px;
}
/* Skills Section */
.skills ul {
display: flex;
flex-wrap: wrap;
gap: 10px;
list-style: none;
}
.skills li {
background-color: #ecf0f1;
padding: 10px 20px;
border-radius: 20px;
font-size: 0.9rem;
}
/* Projects Section */
.projects {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
.project-card {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.project-card h3 {
margin-bottom: 10px;
}
.project-card p {
margin-bottom: 15px;
}
/* Contact Section */
footer {
background: #2c3e50;
color: white;
text-align: center;
padding: 30px 0;
}
footer form {
display: flex;
flex-direction: column;
gap: 10px;
max-width: 400px;
margin: 0 auto;
}
footer input, footer textarea {
padding: 10px;
border: none;
border-radius: 5px;
}
footer button {
padding: 10px;
background-color: #3498db;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
footer button:hover {
background-color: #2980b9;
}
</style>
</head>
<body>
<!-- Header -->
<header>
<div class="container">
<h1>John Doe</h1>
<p>MBA | Data Scientist | Business Analyst</p>
<div class="social-links">
<a href="https://linkedin.com/in/johndoe" target="_blank">LinkedIn</a>
<a href="https://github.com/johndoe" target="_blank">GitHub</a>
<a href="mailto:johndoe@example.com">Email</a>
</div>
</div>
</header>
<!-- About Section -->
<section id="about">
<div class="container">
<h2>About Me</h2>
<div class="about">
<img src="https://via.placeholder.com/200" alt="Profile Picture">
<div class="about-text">
<p>I am an MBA graduate with a passion for data science and analytics. With expertise in machine learning, statistical analysis, and business strategy, I help organizations make data-driven decisions to achieve their goals.</p>
<p>My experience spans across industries, including finance, retail, and technology, where I have delivered impactful insights and solutions.</p>
</div>
</div>
</div>
</section>
<!-- Skills Section -->
<section id="skills">
<div class="container">
<h2>Skills</h2>
<ul class="skills">
<li>Python</li>
<li>R</li>
<li>SQL</li>
<li>Machine Learning</li>
<li>Data Visualization</li>
<li>Business Strategy</li>
<li>Excel</li>
<li>Tableau</li>
<li>Power BI</li>
</ul>
</div>
</section>
<!-- Projects Section -->
<section id="projects">
<div class="container">
<h2>Projects</h2>
<div class="projects">
<div class="project-card">
<h3>Predictive Analytics for Retail Sales</h3>
<p>Built a predictive model using Python and scikit-learn to forecast sales trends for a retail chain, improving inventory management by 20%.</p>
</div>
<div class="project-card">
<h3>Customer Segmentation Analysis</h3>
<p>Performed customer segmentation using clustering algorithms to identify key customer groups, enabling targeted marketing campaigns.</p>
</div>
<div class="project-card">
<h3>Financial Risk Assessment Model</h3>
<p>Developed a risk assessment model for a financial institution using logistic regression, reducing default rates by 15%.</p>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<footer>
<div class="container">
<h2>Contact Me</h2>
<form>
<input type="text" placeholder="Your Name" required>
<input type="email" placeholder="Your Email" required>
<textarea rows="5" placeholder="Your Message" required></textarea>
<button type="submit">Send Message</button>
</form>
</div>
</footer>
</body>
</html>
Features:
- Responsive Design: The layout adapts to different screen sizes using
flexbox and grid.
- Modern UI: A gradient header, clean typography, and subtle shadows give the page a professional look.
- Sections: Includes sections for About, Skills, Projects, and Contact.
- Interactive Form: A simple contact form for visitors to reach out.
You can replace placeholder content (e.g., profile picture, LinkedIn link) with your actual details. Save this code as an .html file and open it in a browser to view your portfolio.