0% found this document useful (0 votes)
25 views4 pages

Portfolio HTML Code

Uploaded by

Nivya babu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views4 pages

Portfolio HTML Code

Uploaded by

Nivya babu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

<!

DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Portfolio</title>
<style>
/* Basic CSS Styling */
*{
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}

body {
background-color: #f4f4f9;
color: #333;
}

header {
background-color: #333;
color: #fff;
padding: 1.5em;
text-align: center;
}

nav ul {
list-style-type: none;
display: flex;
justify-content: center;
gap: 20px;
}

nav ul li a {
color: #fff;
text-decoration: none;
}

section {
padding: 2em;
max-width: 1000px;
margin: auto;
}

.profile {
text-align: center;
}
.profile img {
width: 150px;
height: 150px;
border-radius: 50%;
margin-top: 1em;
}

.skills, .projects {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: space-around;
}

.skill, .project {
background-color: #e0e4e8;
padding: 1.5em;
border-radius: 8px;
width: 45%;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

footer {
text-align: center;
padding: 1em;
background-color: #333;
color: #fff;
margin-top: 2em;
}

/* Responsive Design */
@media (max-width: 768px) {
.skills, .projects {
flex-direction: column;
align-items: center;
}

.skill, .project {
width: 100%;
}
}
</style>
</head>
<body>
<!-- Header -->
<header>
<h1>Welcome to My Portfolio</h1>
<nav>
<ul>
<li><a href="#about">About</a></li>
<li><a href="#skills">Skills</a></li>
<li><a href="#projects">Projects</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>

<!-- About Section -->


<section id="about" class="profile">
<h2>About Me</h2>
<p>Hello! I’m [Your Name], a passionate developer specializing in web development. I
enjoy creating dynamic and user-friendly websites.</p>
<img src="your-photo.jpg" alt="Your Photo">
</section>

<!-- Skills Section -->


<section id="skills">
<h2>My Skills</h2>
<div class="skills">
<div class="skill">
<h3>HTML & CSS</h3>
<p>Experience in creating responsive layouts with HTML5 and CSS3.</p>
</div>
<div class="skill">
<h3>JavaScript</h3>
<p>Proficient in JavaScript for front-end interactivity and functionality.</p>
</div>
<div class="skill">
<h3>React</h3>
<p>Skilled in building SPAs with React.</p>
</div>
<div class="skill">
<h3>Backend</h3>
<p>Experienced with Node.js and Express for backend development.</p>
</div>
</div>
</section>

<!-- Projects Section -->


<section id="projects">
<h2>Projects</h2>
<div class="projects">
<div class="project">
<h3>Project 1</h3>
<p>A brief description of your project, its purpose, and technologies used.</p>
</div>
<div class="project">
<h3>Project 2</h3>
<p>A brief description of your project, its purpose, and technologies used.</p>
</div>
<div class="project">
<h3>Project 3</h3>
<p>A brief description of your project, its purpose, and technologies used.</p>
</div>
<div class="project">
<h3>Project 4</h3>
<p>A brief description of your project, its purpose, and technologies used.</p>
</div>
</div>
</section>

<!-- Contact Section -->


<section id="contact">
<h2>Contact Me</h2>
<p>If you’d like to work with me, feel free to reach out!</p>
<form action="your-form-handler.php" method="POST">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required><br><br>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required><br><br>
<label for="message">Message:</label><br>
<textarea id="message" name="message" rows="4" required></textarea><br><br>
<button type="submit">Send Message</button>
</form>
</section>

<!-- Footer -->


<footer>
<p>&copy; 2023 [Your Name]. All Rights Reserved.</p>
</footer>
</body>
</html>

You might also like