Advertisement
sourav8256

Untitled

Jul 30th, 2023
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.42 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Checkout</title>
  5. <!-- Add the Bootstrap CSS link -->
  6. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
  7. </head>
  8. <body>
  9. <div class="container mt-5">
  10. <div class="row">
  11. <div class="col-md-6">
  12. <div class="card">
  13. <div class="card-header">
  14. <h3 class="text-center">Review Your Cart</h3>
  15. </div>
  16. <div class="card-body">
  17. <table class="table">
  18. <thead>
  19. <tr>
  20. <th>Product</th>
  21. <th>Price</th>
  22. <th>Quantity</th>
  23. <th>Subtotal</th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. <tr>
  28. <td>Product 1</td>
  29. <td>$100</td>
  30. <td>2</td>
  31. <td>$200</td>
  32. </tr>
  33. <tr>
  34. <td>Product 2</td>
  35. <td>$50</td>
  36. <td>1</td>
  37. <td>$50</td>
  38. </tr>
  39. <!-- Add more products here as needed -->
  40. </tbody>
  41. <tfoot>
  42. <tr>
  43. <td colspan="3"></td>
  44. <th>Total: $250</th>
  45. </tr>
  46. </tfoot>
  47. </table>
  48. </div>
  49. </div>
  50. </div>
  51.  
  52. <div class="col-md-6">
  53. <div class="card">
  54. <div class="card-header">
  55. <h3 class="text-center">Shipping Details</h3>
  56. </div>
  57. <div class="card-body">
  58. <form>
  59. <div class="form-group">
  60. <label for="fullName">Full Name</label>
  61. <input type="text" class="form-control" id="fullName" placeholder="Enter your full name" required>
  62. </div>
  63. <div class="form-group">
  64. <label for="address">Address</label>
  65. <input type="text" class="form-control" id="address" placeholder="Enter your address" required>
  66. </div>
  67. <div class="form-row">
  68. <div class="form-group col-md-6">
  69. <label for="city">City</label>
  70. <input type="text" class="form-control" id="city" placeholder="Enter your city" required>
  71. </div>
  72. <div class="form-group col-md-6">
  73. <label for="zipCode">Zip Code</label>
  74. <input type="text" class="form-control" id="zipCode" placeholder="Enter your zip code" required>
  75. </div>
  76. </div>
  77. <div class="form-group">
  78. <label for="country">Country</label>
  79. <input type="text" class="form-control" id="country" placeholder="Enter your country" required>
  80. </div>
  81. <div class="text-center">
  82. <button type="submit" class="btn btn-primary">Place Order</button>
  83. </div>
  84. </form>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90.  
  91. <!-- Add the Bootstrap JS and jQuery links -->
  92. <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
  93. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.6.0/dist/umd/popper.min.js"></script>
  94. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
  95. </body>
  96. </html>
  97.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement