lokesh341 commited on
Commit
377d6a5
·
verified ·
1 Parent(s): 8c3b9dc

Update templates/menu_page.html

Browse files
Files changed (1) hide show
  1. templates/menu_page.html +2 -2
templates/menu_page.html CHANGED
@@ -92,12 +92,12 @@
92
  });
93
  }
94
 
95
- // ✅ Function to Add Items to Cart (Simple Alert for Now)
96
  function addToCart(name, price) {
97
  alert(`${name} added to cart!`);
98
  }
99
 
100
- // ✅ Call API on Page Load
101
  window.onload = fetchMenu;
102
  </script>
103
  </body>
 
92
  });
93
  }
94
 
95
+ // ✅ Function to Add Items to Cart (Just a simple alert for now)
96
  function addToCart(name, price) {
97
  alert(`${name} added to cart!`);
98
  }
99
 
100
+ // ✅ Display Menu on Page Load
101
  window.onload = fetchMenu;
102
  </script>
103
  </body>