Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
945 B
2
Indexable
Never
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Simple E-commerce Website</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <header>
        <h1>Simple E-commerce</h1>
    </header>
    <main>
        <section class="products">
            <div class="product">
                <img src="product1.jpg" alt="Product 1">
                <h2>Product 1</h2>
                <p>Price: $19.99</p>
                <button class="add-to-cart">Add to Cart</button>
            </div>
            <!-- Add more product divs here -->
        </section>
        <section class="cart">
            <h2>Cart</h2>
            <ul class="cart-items">
                <!-- Cart items will be added dynamically using JavaScript -->
            </ul>
        </section>
    </main>
    <script src="script.js"></script>
</body>
</html>