Little Lemon is a family-owned Mediterranean restaurant focused on traditional recipes served with a modern twist. This React application allows users to browse the restaurant's specials, make reservations, and interact with the online menu.
https://davidcd8.github.io/CapstoneProject/
- Home Page: Displays a hero section with restaurant details and a "Reserve a Table" button.
- Specials: Displays a list of the restaurant's weekly specials, including images, descriptions, and prices.
- Reservation: Users can reserve a table by selecting a date, time, number of guests, and occasion (Birthday/Anniversary).
- Form Validation: The reservation form validates user input and disables submission if the form is incomplete.
- State Management: Utilizes React
useStatefor managing form data anduseEffectfor persisting state.
Hero section of the Little Lemon Restaurant website.
-
Clone the repository:
git clone https://github.com/yourusername/little-lemon.git cd little-lemon -
Install dependencies:
npm install
-
Start the development server:
npm start
-
Open the app in your browser: Navigate to
http://localhost:3000to see the application in action.
/src
/assets
/image
- greeksalad.jpg
- lemondessert.jpg
- bruschetta.svg
- restauranfood.jpg
/Components
- NavigationBar.js
- Main.js
- Footer.js
- Cards.js
- Highlight.js
- HeroSection.js
- BookingPage.js
- BookingForm.js
App.js
App.css
- Navigation Bar: The navigation bar provides links to different sections of the website, including "Home," "Specials," and "Booking."
- Specials: The
Highlightcomponent dynamically displays the specials of the week with images and descriptions. - Booking Page: The user can make a reservation by selecting the date, time, guests, and occasion. The form validates inputs and allows for submitting reservation details.
Here are the images of the specials for this week:
Lemon Dessert - $5.00
- HTML5
- CSS3
- JavaScript
- React.js
- React Router
- Figma (for design)
This project was created as part of the Meta Front-End Developer Specialization via Coursera.

