Open links in new tab
  1. Creating a portfolio website is essential for showcasing your skills, projects, and experience. It helps you stand out to potential employers or clients. Here's a step-by-step guide to building a portfolio using HTML and CSS.

    Setting Up the Project

    First, create a folder structure for your project. You will need:

    • index.html for the HTML content.

    • style.css for the CSS styles.

    • An images folder for storing images.

    HTML Structure

    Start by creating the basic HTML structure in 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>
    <!-- Navigation Bar -->
    <nav class="navbar">
    <div class="container">
    <a class="navbar-brand" href="#">My Portfolio</a>
    <ul class="navbar-nav">
    <li><a href="#home">Home</a></li>
    <li><a href="#about">About</a></li>
    <li><a href="#services">Services</a></li>
    <li><a href="#portfolio">Portfolio</a></li>
    <li><a href="#contact">Contact</a></li>
    </ul>
    </div>
    </nav>

    <!-- Hero Section -->
    <section id="home" class="hero">
    <div class="container">
    <h1>Welcome to My Portfolio</h1>
    <p>Showcasing my work and skills</p>
    </div>
    </section>

    <!-- About Section -->
    <section id="about" class="about">
    <div class="container">
    <h2>About Me</h2>
    <p>Information about yourself.</p>
    </div>
    </section>

    <!-- Services Section -->
    <section id="services" class="services">
    <div class="container">
    <h2>My Services</h2>
    <div class="service-item">
    <h3>Web Development</h3>
    <p>Details about the service.</p>
    </div>
    <div class="service-item">
    <h3>Web Design</h3>
    <p>Details about the service.</p>
    </div>
    </div>
    </section>

    <!-- Portfolio Section -->
    <section id="portfolio" class="portfolio">
    <div class="container">
    <h2>My Work</h2>
    <div class="portfolio-item">
    <img src="images/project1.jpg" alt="Project 1">
    <h3>Project Title</h3>
    <p>Project description.</p>
    </div>
    </div>
    </section>

    <!-- Contact Section -->
    <section id="contact" class="contact">
    <div class="container">
    <h2>Contact Me</h2>
    <form>
    <input type="text" placeholder="Name">
    <input type="email" placeholder="Email">
    <textarea placeholder="Message"></textarea>
    <button type="submit">Send</button>
    </form>
    </div>
    </section>

    <!-- Footer -->
    <footer class="footer">
    <div class="container">
    <p>© 2023 My Portfolio</p>
    </div>
    </footer>
    </body>
    </html>
    Feedback
  1. Some results have been removed
Refresh