Website Link - Laundry-Wallah
This project is a web-based service booking platform designed to facilitate the booking of various services. Users can add services to a cart, manage the cart, and place orders through a simple and intuitive interface. The project utilizes HTML, CSS, and JavaScript to create a dynamic and responsive user experience.
- Sticky Navigation Bar: The navigation bar remains fixed at the top of the page for easy access.
- Smooth Scrolling: The HTML is configured to ensure smooth scrolling behavior for a better user experience.
- Hero Section: Features an animated image to capture user attention.
- Quotes Section: Displays inspirational quotes related to the services.
- Service Listing: A comprehensive list of services available for booking.
- Add to Cart Functionality: Users can add services to their cart.
- Remove from Cart Functionality: Users can remove services from their cart.
- Cart Management: The cart dynamically updates with the services added or removed by the user.
- Cart Summary: Displays the total number of items and the total price.
- Background Change: The background image of the cart changes based on whether it contains items.
- Button Opacity: The 'Book Now' button's opacity changes based on the cart's content.
- Order Submission: Users can fill out a form and submit their order.
- Form Validation: Ensures that users cannot place an order without filling out the required form fields.
- Error Pop-ups: Notify users when they try to place an order without adding items to the cart or filling out the form.
- Order Confirmation: Displays a confirmation message upon successful order placement.
- Navigation Bar: Provides links to different sections of the page.
- Main Sections: Includes sections for quotes, hero image, service listing, and cart summary.
- Form Section: Contains the form for collecting user information and submitting the order.
- Global Styles: Resets margins, paddings, and sets default font styles.
- Layout: Defines the structure and layout of the navigation bar, main sections, and forms.
- Animations: Adds animations for interactive elements such as the hero image and buttons.
- Responsive Design: Ensures the platform is responsive and works well on various devices.
- Event Listeners: Manages user interactions with the add and remove buttons, form submission, and error handling.
- Dynamic Cart Management: Updates the cart dynamically based on user actions.
- Form Handling: Collects form and cart data, validates input, and sends data via email using EmailJS.
- User Navigation: Users navigate through the site using the sticky navigation bar.
- Service Selection: Users browse the available services and add desired services to their cart.
- Cart Management: The cart updates in real-time, showing the list of selected services and their total cost.
- Order Placement: Users fill out the booking form and submit their order. The form data and cart details are collected and sent via email.
- Confirmation: Users receive a confirmation message upon successful order placement.
- HTML: For the structure of the web pages.
- CSS: For styling and layout, including responsive design and animations.
- JavaScript: For dynamic interactions, cart management, form handling, and integrating with EmailJS for order submission.
To run this project locally:
- Clone the repository.
- Open
index.html
in a web browser. - Explore the service listings and use the add/remove functionality.
- Fill out the booking form and place an order to see the dynamic interactions and form submission process.
- Service Filtering: Add filtering options to help users quickly find specific services.
- User Accounts: Implement user authentication and profile management.
- Order History: Allow users to view their past orders.
- Payment Integration: Integrate with a payment gateway for online payments.
This project demonstrates a simple yet effective approach to building a service booking platform with a focus on user experience and dynamic interactions.