How chandan-work07/cloud_kitchen works
This is a browser-based restaurant menu and ordering site. Visitors browse or filter menu items, add selections to a cart, adjust quantities, and can send an order through WhatsApp; a separate contact form also opens a WhatsApp message. The sampled scripts show the menu, cart, contact, and general UI behavior. The HTML was not sampled, and some menu event-handler code is omitted, so the menu-to-cart connection is shown as unverified rather than asserted.
Main entry points: menu.js Menu display · cart.js Cart management · script.js Contact form · index.html Restaurant site
Components 8
Menu and ordering
- Menu display
js/menu.js - Search and categories
js/menu.js - Cart management
js/cart.js
Contact
- Contact form
js/script.js
Page controls
- Restaurant site
index.html - Page controls
js/script.js
Other components
- Visitor
Connections 8
- Visitor → Restaurant site: uses
- Visitor → Menu display: browses
js/menu.js - Search and categories → Menu display: renders results
js/menu.js - Menu display → Cart management: adds selected item
- Cart management → WhatsApp: opens checkout
js/cart.js - Contact form → WhatsApp: opens message
js/script.js - Visitor → Contact form: submits details
js/script.js - Visitor → Page controls: uses controls
js/script.js