Repository navigation
Expand file tree
/
Copy pathmenu.html
More file actions
118 lines (106 loc) · 4.82 KB
/
Copy pathmenu.html
File metadata and controls
118 lines (106 loc) · 4.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Menu - ChaatBazar</title>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<div class="header-inner container" role="banner">
<a href="index.html" class="logo" aria-label="ChaatBazar Home">ChaatBazar 🍴</a>
<nav role="navigation" aria-label="Primary Navigation">
<a href="index.html" class="nav-link">Home</a>
<div class="dropdown" tabindex="0" aria-haspopup="true" aria-expanded="false">
<a href="menu.html" class="dropdown-toggle nav-link active">Menu</a>
<div class="dropdown-menu" role="menu" aria-label="Menu Categories">
<a href="menu.html" role="menuitem" tabindex="-1" onclick="filterCategory('All')">All</a>
<a href="menu.html" role="menuitem" tabindex="-1" onclick="filterCategory('Snacks')">Snacks</a>
<a href="menu.html" role="menuitem" tabindex="-1" onclick="filterCategory('Chaat')">Chaat</a>
<a href="menu.html" role="menuitem" tabindex="-1" onclick="filterCategory('Beverages')">Beverages</a>
</div>
</div>
<a href="index.html#about" class="nav-link">About</a>
<a href="orders.html" class="nav-link">Orders</a>
<a href="cart.html" class="nav-link">Cart</a>
<div class="search-bar" role="search">
<input type="search" placeholder="Search menu..." aria-label="Search menu" id="search-input" autocomplete="off" />
<button aria-label="Search" id="search-btn"></button>
<div class="search-suggestions" id="search-suggestions" style="display: none;"></div>
</div>
</nav>
</div>
</header>
<section class="menu-page container">
<h1>Our Menu</h1>
<div class="filter-buttons" role="toolbar" aria-label="Filter menu categories">
<button class="filter-btn active" data-filter="All" aria-pressed="true">All</button>
<button class="filter-btn" data-filter="Snacks" aria-pressed="false">Snacks</button>
<button class="filter-btn" data-filter="Chaat" aria-pressed="false">Chaat</button>
<button class="filter-btn" data-filter="Beverages" aria-pressed="false">Beverages</button>
</div>
<div class="filter-toggle-container">
<button class="btn-filter-toggle" id="filter-toggle-btn" aria-expanded="false" aria-controls="advanced-filters">
<span>⚙️ Advanced Filters</span>
</button>
</div>
<div class="advanced-filters" id="advanced-filters" style="display: none;">
<div class="filter-grid">
<!-- Price Range Slider -->
<div class="filter-group">
<label for="price-range-slider">Max Price: <span id="price-slider-val">₹100</span></label>
<input type="range" id="price-range-slider" min="10" max="100" step="5" value="100" aria-valuemin="10" aria-valuemax="100" aria-valuenow="100" />
</div>
<!-- Spice Level Selector -->
<div class="filter-group">
<label for="spice-level-select">Spice Level</label>
<select id="spice-level-select">
<option value="All">All Spice Levels</option>
<option value="Low">🌶️ Low</option>
<option value="Medium">🌶️🌶️ Medium</option>
<option value="High">🌶️🌶️🌶️ High</option>
</select>
</div>
<!-- Rating Selector -->
<div class="filter-group">
<label for="rating-select">Minimum Rating</label>
<select id="rating-select">
<option value="All">All Ratings</option>
<option value="4.6">⭐ 4.6+ Stars</option>
<option value="4.8">⭐⭐ 4.8+ Stars</option>
<option value="4.9">⭐⭐⭐ 4.9+ Stars</option>
</select>
</div>
<!-- Dietary Preferences -->
<div class="filter-group dietary-group">
<label>Dietary Preferences</label>
<div class="checkbox-container">
<label class="custom-checkbox">
<input type="checkbox" id="dietary-vegan" />
<span class="checkbox-label">🌱 Vegan</span>
</label>
<label class="custom-checkbox">
<input type="checkbox" id="dietary-gf" />
<span class="checkbox-label">🌾 Gluten-Free</span>
</label>
</div>
</div>
</div>
<!-- Reset Filters Button -->
<div class="filter-actions">
<button class="btn-reset-filters" id="reset-filters-btn">Reset All Filters</button>
</div>
</div>
<div class="menu-container" id="menu-container" aria-live="polite" aria-relevant="additions removals">
<!-- JS will dynamically load items -->
</div>
</section>
<footer>
<p>© 2026 ChaatBazar. All rights reserved.</p>
</footer>
<script src="js/main.js"></script>
</body>
</html>