restaurant website with error handling on booking page
A two page restaurant website with booking page.
This project was created from scratch using grid for the main layout and BEM method.
Built with a mobile first approach.
Deployed using Github-pages
This project was great practice to strengthen positioning layout with responsive design.
I used javascript for the catering/events section to display content based on selection and update with corresponding image depending on screen size.
- By giving each image (mobile, tablet, desktop) an id, I could target them seperately and store them in their own variables, While depending on the screensize i disable and enable each image in media queries using CSS. The enabled ID ('desktopImage', 'tabletImage', 'mobileImage') then display's the correct corresponding image size.
Practice with form validation and displaying error messages using javascript.
- HTML-5
- SCSS
- Javascript
A few key features implemented include:
- โ Drop down menu
- โ Toggle button
- โ DOM manipulation
- โ Increment counter
- โ Error handling
- โ Fully responsive
- Home
- Booking