<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Portfolio Page</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }

        .title {
            text-align: center;
            margin: 20px 0;
            font-size: 24px;
        }

        .grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            grid-gap: 20px;
            padding: 20px;
        }

        .grid-item {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .grid-item img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }

        .grid-item h2 {
            margin-top: 0;
        }

        .grid-item p {
            margin-bottom: 0;
        }
    </style>
</head>
<body>

    <h1 class="title">My Portfolio</h1>

    <div class="grid-container">
        <div class="grid-item">
            <img src="https://via.placeholder.com/250" alt="Project 1" width="100%">
            <h2>Project 1</h2>
            <p>Description of Project 1</p>
        </div>
        <div class="grid-item">
            <img src="https://via.placeholder.com/250" alt="Project 2" width="100%">
            <h2>Project 2</h2>
            <p>Description of Project 2</p>
        </div>
        <div class="grid-item">
            <img src="https://via.placeholder.com/250" alt="Project 3"  width="100%">
            <h2>Project 3</h2>
            <p>Description of Project 3</p>
        </div>
        <!-- Add more grid items as needed -->
    </div>

</body>
</html>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.