How meghanasingareddy/c-c works
Chai and Chapter is a single-page book-cafe website. Visitors browse cafe offerings and community content, then interact with menu filters, an in-store cart, nook reservations, account prompts, event RSVPs, and a newsletter form. The graph separates page content from the JavaScript behaviors that make key interactions work. The README documents the page’s broader sections; the partial script excerpt confirms menu filtering, cart handling, and form/event handlers, but does not expose every implementation detail.
Main entry points: index.html Single-page site · script.js Category filters · style.css Responsive styling
Components 18
Cafe website
- Single-page site
index.html - Welcome and story
index.html - Reading nooks
index.html - Chef spotlight
index.html - Customer reviews
index.html - Responsive styling
style.css
Menu and ordering
- Categorized menu
index.html - Category filters
script.js - In-store cart
script.js
Cafe community
- Community events
index.html - Event RSVP prompts
script.js - Chapter Club signup
index.html - Newsletter handling
script.js
Interactive behaviors
- Nook reservation
index.html - Reservation handling
script.js - Login and signup
index.html - Account prompts
script.js
Other components
- Visitor
Connections 14
- Visitor → Single-page site: browses
README.md - Visitor → Category filters: filters menu
script.js - Category filters → Categorized menu: filters items
script.js - Visitor → In-store cart: adds items
script.js - In-store cart → Visitor: shows order total
script.js - Visitor → Reservation handling: submits reservation
script.js - Reservation handling → Nook reservation: confirms nook
script.js - Visitor → Account prompts: opens account
script.js - Account prompts → Login and signup: shows modal
script.js - Visitor → Event RSVP prompts: requests RSVP
README.md - Event RSVP prompts → Community events: prompts RSVP
script.js - Visitor → Newsletter handling: submits email
README.md - Newsletter handling → Chapter Club signup: handles signup
script.js - Single-page site → Responsive styling: uses styling