The "Dr. Pizza" project is an e-commerce website simulating a pizza store with multiple interconnected pages. The website allows users to place orders, make payments, and manage their shopping cart. The project was built using JavaScript, HTML, and CSS.
- Allows users to enter their name and phone number.
- Saves user details in sessionStorage for reuse.
- Displays available products categorized by type.
- Enables product search by name.
- Includes a dynamic shopping cart with options to add or remove products.
- Calculates the total order amount.
- Displays the total order amount.
- Automatically fills in user details if stored in sessionStorage.
- Allows users to enter credit card details and complete the payment.
- Shows a success message after payment and redirects the user to the homepage.
- Uses sessionStorage to save user details and shopping cart data.
- After completing the payment, a success message is displayed with a 7-second timer before redirecting to the homepage.
- The website is optimized for various screen sizes.
- Includes a mobile-friendly navigation menu.
- HTML: Website structure.
- CSS: Website styling, including responsive design.
- JavaScript: Dynamic logic, event handling, and data management.
- jQuery: JavaScript library for DOM manipulation.
- Place all project files in a single directory.
- Open the
home.htmlfile in a browser to start using the website.
- Log in through the login page (
login.html). - Navigate to the orders page (
orders.html) to select products and add them to the cart. - Click the payment button to proceed to the payment page (
pay.html). - Enter credit card details and complete the payment.