File size: 2,632 Bytes
5cc830e
 
 
 
 
f282b32
 
 
5cc830e
f282b32
 
 
 
 
 
 
 
 
 
5cc830e
 
f282b32
5cc830e
 
f243b6f
18a3661
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5cc830e
 
f282b32
 
5cc830e
f282b32
 
5cc830e
f243b6f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Order Confirmation - Amazon Clone</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <nav class="bg-gray-800 p-4 text-white">
        <div class="container mx-auto flex items-center justify-between">
            <a href="/" class="text-2xl font-bold">Amazon</a>
            <div class="flex items-center">
                <input type="text" placeholder="Search" class="bg-gray-700 text-white px-4 py-2 rounded-md mr-2">
                <button class="bg-yellow-500 text-gray-800 px-4 py-2 rounded-md hover:bg-yellow-400">Search</button>
            </div>
            <div>
                <a href="/cart.html" class="hover:text-yellow-500">Cart</a>
            </div>
        </div>
    </nav>

    <main class="container mx-auto mt-8">
        <h1 class="text-2xl font-bold mb-4">Order Confirmation</h1>
        <div class="bg-white shadow-md rounded px-8 pt-6 pb-8 mb-4">
            <h2 class="text-xl font-bold mb-4">Thank you for your order!</h2>
            <div class="mb-4">
                <h3 class="text-lg font-bold mb-2">Shipping Address:</h3>
                <p>Name: <span id="shipping-name"></span></p>
                <p>Address: <span id="shipping-address"></span></p>
                <p>City: <span id="shipping-city"></span></p>
                <p>State: <span id="shipping-state"></span></p>
                <p>Zip Code: <span id="shipping-zip"></span></p>
            </div>
            <div class="mb-4">
                <h3 class="text-lg font-bold mb-2">Payment Information:</h3>
                <p>Credit Card: <span id="payment-credit-card">XXXX-XXXX-XXXX-1234</span></p>
                <p>Expiration Date: <span id="payment-expiration-date">12/24</span></p>
                <p>CVV: <span id="payment-cvv">123</span></p>
            </div>
            <div>
                <h3 class="text-lg font-bold mb-2">Order Details:</h3>
                <ul id="order-items">
                    <!-- Order items will be dynamically added here -->
                </ul>
                <p class="font-bold">Total: <span id="order-total">$0.00</span></p>
            </div>
        </div>
    </main>

    <footer class="bg-gray-800 p-4 text-white text-center mt-8">
        <p>&copy; 2024 Amazon Clone</p>
    </footer>

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