Untitled

mail@pastecode.io avatar
unknown
html
a month ago
1.9 kB
7
Indexable
Never
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cacti Corner</title>
    <link rel="stylesheet" href="reset.css">
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <header>
        <img src="image/Cacti Corner.png" id="logo">
        <div class="shopping">
            <img src="image/shopping.svg">
            <div class="quantity">0</div>
        </div>
    </header>
    <div class="wrapper">
        <div class="list"></div>
    </div>
    <div class="shoppingCart">
        <h1>Your Shopping Cart</h1>
        <ul class="listCart"></ul>
        <div class="totalWrapper">
            <div class="total">0</div>
        </div>
        <div class="checkOut">
            <div class="clearCart">Clear</div>
            <div class="closeShopping">Close</div>
        </div>
    </div>
    <div class="modal" id="productModal">
        <div class="modal-content">
            <span class="close" onclick="closeModal()">&times;</span>
            <img id="modalImage" src="" alt="">
            <div class="arrow-left" onclick="changeImageModal(-1)"></div>
            <div class="arrow-right" onclick="changeImageModal(1)"></div>
            <h2 id="modalTitle"></h2>
            <p id="modalDescription"></p>
            <p id="modalPrice"></p>
            <div class="quantity-input">
                <button onclick="changeQuantityModal(-1)">-</button>
                <span id="quantityValue">1</span>
                <button onclick="changeQuantityModal(1)">+</button>
            </div>
            <button onclick="addToCartModal()">Add To Cart</button>
        </div>
    </div>

    <script src="main.js"></script>
</body>

</html>
Leave a Comment