Create a personal website 2024 rules

Here’s a concise personal website draft for 2024, designed to be all-inclusive in a single HTML file. This template features a modern design with responsive layout, basic sections, and a clean, professional look.

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<title>John Doe – Personal Website</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
color: #333;
background-color: #f4f4f4;
}
header {
background-color: #333;
color: #fff;
padding: 1rem;
text-align: center;
}
nav {
margin: 0;
padding: 0;
}
nav a {
color: #fff;
margin: 0 1rem;
text-decoration: none;
}
section {
padding: 2rem;
margin: auto;
max-width: 800px;
}
h1, h2 {
color: #333;
}
.about, .projects, .contact {
background-color: #fff;
border-radius: 8px;
padding: 1rem;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.contact a {
color: #007BFF;
text-decoration: none;
}
footer {
text-align: center;
padding: 1rem;
background-color: #333;
color: #fff;
}
@media (max-width: 600px) {
nav {
display: block;
text-align: center;
}
nav a {
display: block;
margin: 0.5rem 0;
}
}
</style>
</head>
<body>
<header>
<h1>John Doe</h1>
<nav>
<a href=”#about”>About Me</a>
<a href=”#projects”>Projects</a>
<a href=”#contact”>Contact</a>
</nav>
</header>
<section id=”about” class=”about”>
<h2>About Me</h2>
<p>Hello! I’m John Doe, a passionate software developer with a knack for creating innovative solutions. With over 5 years of experience in web development, I specialize in building responsive and user-friendly applications.</p>
</section>
<section id=”projects” class=”projects”>
<h2>Projects</h2>
<p>Here are a few projects I’ve worked on:</p>
<ul>
<li><strong>Project One:</strong> Description of Project One.</li>
<li><strong>Project Two:</strong> Description of Project Two.</li>
<li><strong>Project Three:</strong> Description of Project Three.</li>
</ul>
</section>
<section id=”contact” class=”contact”>
<h2>Contact Me</h2>
<p>You can reach me via email at <a href=”mailto:johndoe@example.com”>johndoe@example.com</a> or connect with me on <a href=”https://linkedin.com/in/johndoe”>LinkedIn</a>.</p>
</section>
<footer>
<p>&copy; 2024 John Doe. All rights reserved.</p>
</footer>
</body>
</html>

Overview:

  • Header: Includes the name and navigation links.
  • About Me: A brief introduction.
  • Projects: Lists some example projects.
  • Contact: Provides an email address and LinkedIn link.
  • Footer: Contains copyright information.

Feel free to customize the content, colors, and links as per your needs!

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *