This project is a small restaurant menu web application with a reservation section and a random meal selection button. It was created as part of a JavaScript Final Project by a team of two developers.
The main objectives of this project were:
- Make Changes to the HTML and/or CSS using JavaScript.
- Get input from the user.
- Use an event to trigger changes to the webpage.
- Add HTML elements to the webpage using the DOM.
- Utilize arrays, loops, and conditional logic in JavaScript.
We achieved these objectives by implementing the following:
-
Menu Creation: We created an array containing menu items and used a loop to dynamically insert these items onto the webpage.
-
Reservation System: We implemented an event listener that collects user input from the reservation form and updates the HTML to display the reservation details.
-
Random Meal Selection: To help users who couldn't decide on their reservation, we added a random meal selection button.
To use or contribute to this project, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/Lorriu/Resturant-Menu-Reservation.git- Open the project directory:
cd Resturant-Menu-Reservation- Open the "index.html" file in your web browser to access the application.
If you'd like to contribute to this project, follow these steps:
- Fork the repository on GitHub.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Submit a pull request with a clear description of the changes.
This project is not licensed and was created for practice purposes only, this application should not be used for commercial purposes.