menuItems.forEach((item) => const itemText = item.textContent.toLowerCase(); if (itemText.includes(filterValue)) item.style.display = 'block'; else item.style.display = 'none';
<main class="menu-grid"> <!-- Starters Section --> <section class="menu-section"> <h2 class="section-title">Starters</h2>
Use to align the item name and price on the same line. Google Fonts can add a professional aesthetic. Use code with caution. Copied to clipboard 3. Adding Interactivity (Optional)