Build Your First Portfolio Website in 1 Hour (No Experience Needed)

🎯 Perfect for Beginners

Build Your First Portfolio Website in 1 Hour

No experience needed. Just copy-paste and customize!

🌟 What You'll Build

Home About Projects Contact

Hi, I'm [Your Name]

Aspiring Web Developer

👨‍💻

📝 Step-by-Step Guide

1

Create HTML Structure

Start with this basic HTML template:

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 Portfolio</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <!-- Your content goes here -->
</body>
</html>
2

Add Navigation Bar

Copy this navbar code inside the <body> tag:

<nav class="navbar">
    <div class="logo">MyPortfolio</div>
    <div class="nav-links">
        <a href="#" class="nav-link active">Home</a>
        <a href="#" class="nav-link">About</a>
        <a href="#" class="nav-link">Projects</a>
        <a href="#" class="nav-link">Contact</a>
    </div>
</nav>
3

Create Hero Section

Add this below the navbar:

<section class="hero">
    <div class="hero-content">
        <h1>Hi, I'm <span class="highlight">[Your Name]</span></h1>
        <p>I'm learning web development and building cool projects.</p>
        <a href="#projects" class="btn">View My Work</a>
    </div>
    <div class="hero-image">
        <!-- Add your image or icon here -->
        <div class="image-placeholder">👨‍💻</div>
    </div>
</section>

📁 Complete Source Code

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Portfolio | Beginner Project</title>
    <link rel="stylesheet" href="style.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body>
    <!-- Navigation -->
    <nav class="navbar">
        <div class="logo">MyPortfolio</div>
        <div class="nav-links">
            <a href="#home" class="nav-link active"><i class="fas fa-home"></i> Home</a>
            <a href="#about" class="nav-link"><i class="fas fa-user"></i> About</a>
            <a href="#projects" class="nav-link"><i class="fas fa-code"></i> Projects</a>
            <a href="#contact" class="nav-link"><i class="fas fa-envelope"></i> Contact</a>
        </div>
    </nav>

    <!-- Hero Section -->
    <section class="hero" id="home">
        <div class="hero-content">
            <h1>Hi, I'm <span class="highlight">[Your Name]</span></h1>
            <p class="tagline">Aspiring Web Developer · Learning HTML & CSS</p>
            <p>I create simple, beautiful websites while learning web development.</p>
            <a href="#projects" class="btn"><i class="fas fa-code"></i> View My Projects</a>
        </div>
        <div class="hero-image">
            <div class="image-container">
                <!-- Replace with your photo -->
                <div class="placeholder-image">
                    <i class="fas fa-user"></i>
                </div>
            </div>
        </div>
    </section>

    <!-- About Section -->
    <section class="about" id="about">
        <h2>About Me</h2>
        <div class="about-content">
            <p>Hello! I'm learning web development and building my skills through projects.</p>
            <div class="skills">
                <h3>Skills I'm Learning:</h3>
                <div class="skill-tags">
                    <span class="skill-tag">HTML5</span>
                    <span class="skill-tag">CSS3</span>
                    <span class="skill-tag">JavaScript</span>
                    <span class="skill-tag">Responsive Design</span>
                </div>
            </div>
        </div>
    </section>

    <!-- Projects Section -->
    <section class="projects" id="projects">
        <h2>My Projects</h2>
        <div class="project-grid">
            <div class="project-card">
                <div class="project-icon"><i class="fas fa-globe"></i></div>
                <h3>Portfolio Website</h3>
                <p>This very website you're viewing!</p>
                <div class="tech-used">HTML · CSS</div>
            </div>
            <div class="project-card">
                <div class="project-icon"><i class="fas fa-calculator"></i></div>
                <h3>Simple Calculator</h3>
                <p>Basic calculator with JavaScript</p>
                <div class="tech-used">HTML · CSS · JS</div>
            </div>
            <div class="project-card">
                <div class="project-icon"><i class="fas fa-todo"></i></div>
                <h3>To-Do List App</h3>
                <p>Task management application</p>
                <div class="tech-used">HTML · CSS · JS</div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="footer">
        <p>© 2024 My Portfolio. Built with ❤️ while learning.</p>
        <div class="social-links">
            <a href="#" class="social-link"><i class="fab fa-github"></i></a>
            <a href="#" class="social-link"><i class="fab fa-linkedin"></i></a>
            <a href="#" class="social-link"><i class="fab fa-twitter"></i></a>
        </div>
    </footer>

    <script src="script.js"></script>
</body>
</html>
/* style.css - Complete CSS for Portfolio */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navigation */
.navbar {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: #3498db;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.highlight {
    color: #3498db;
}

.tagline {
    color: #7f8c8d;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #2980b9;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.image-container {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    font-size: 8rem;
    color: white;
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

/* About Section */
.about-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.skills {
    margin-top: 2rem;
}

.skill-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.skill-tag {
    background: #e8f4fc;
    color: #3498db;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.tech-used {
    margin-top: 1rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .navbar {
        padding: 1rem;
    }
}

🎨 Customize Your Portfolio

🎯

Change Colors

In the CSS, change #3498db to your favorite color

📷

Add Your Photo

Replace the placeholder with: <img src="your-photo.jpg" alt="Your Name">

📱

Make It Mobile-Friendly

The CSS already includes responsive design

🚀 Ready to Launch?

Download the complete project files:

Comments

Popular posts from this blog

Top 10 Free Coding Websites Every Beginner Should Use in 2026

Graph Data Structure – Complete Beginner to Advanced Guide with BFS, DFS and Examples

5 JavaScript Console Methods You're Not Using (But Should Be)