<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>My Portfolio</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #333;
color: #fff;
text-align: center;
padding: 1rem;
}
nav {
background: #444;
padding: 1rem;
text-align: center;
}
nav a {
color: white;
text-decoration: none;
padding: 0.5rem 1rem;
margin: 0 1rem;
font-size: 1.1rem;
}
nav a:hover {
background-color: #555;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}
section {
margin-bottom: 4rem;
}
.hero {
background: url('https://via.placeholder.com/1500x800') no-repeat center center/cover;
height: 300px;
display: flex;
justify-content: center;
align-items: center;
color: white;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero h1 {
font-size: 3rem;
}
.about, .projects, .contact {
background-color: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.about img {
max-width: 150px;
border-radius: 50%;
}
.project {
display: flex;
flex-wrap: wrap;
gap: 2rem;
}
.project-card {
flex: 1 1 calc(33.333% - 2rem);
background-color: #fff;
padding: 1.5rem;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.project img {
max-width: 100%;
border-radius: 8px;
}
footer {
background-color: #333;
color: white;
padding: 1rem;
text-align: center;
}
@media screen and (max-width: 768px) {
.project-card {
flex: 1 1 100%;
}
}
</style>
</head>
<body>
<header>
<h1>My Portfolio</h1>
<p>Welcome to my online space. I'm a web developer, designer, and creator.</p>
</header>
<nav>
<a href="#about">About Me</a>
<a href="#projects">Projects</a>
<a href="#contact">Contact</a>
</nav>
<div class="hero">
<h1>Welcome to My World</h1>
</div>
<div class="container">
<!-- About Me Section -->
<section id="about" class="about">
<h2>About Me</h2>
<div>
<img src="https://via.placeholder.com/150" alt="Profile Picture">
<p>Hello! I'm a passionate web developer with experience in building modern and responsive websites. I love coding, problem-solving, and learning new technologies. I specialize in front-end development but am constantly expanding my skills.</p>
</div>
</section>
<!-- Projects Section -->
<section id="projects" class="projects">
<h2>My Projects</h2>
<div class="project">
<div class="project-card">
<img src="https://via.placeholder.com/500" alt="Project 1">
<h3>Project 1</h3>
<p>This project is a web application that I built using React and Node.js. It's a full-stack solution for managing tasks.</p>
</div>
<div class="project-card">
<img src="https://via.placeholder.com/500" alt="Project 2">
<h3>Project 2</h3>
<p>A responsive website I developed for a local business, utilizing HTML, CSS, and JavaScript to create an engaging user experience.</p>
</div>
<div class="project-card">
<img src="https://via.placeholder.com/500" alt="Project 3">
<h3>Project 3</h3>
<p>This is an e-commerce platform I created using Shopify and integrated payment systems for smooth transactions.</p>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="contact">
<h2>Contact Me</h2>
<p>If you'd like to get in touch, feel free to send me a message or follow me