🥑 Healthy Snack Finder 🍎
Select your dietary preference and main ingredient to find a nutritious snack!
Suggested Snack
Ingredients: ${filteredSnack.ingredients}
Instructions: ${filteredSnack.instructions}
`; } else { snackOutput.innerHTML = `No snack found for that ingredient. Try a different one!
`; } } function downloadSnack() { let content = document.getElementById("snack-result").innerText; let blob = new Blob([content], { type: "text/plain" }); let link = document.createElement("a"); link.href = URL.createObjectURL(blob); link.download = "Healthy_Snack_Idea.pdf"; link.click(); }The Healthy Snack Finder helps users discover quick, nutritious snack ideas based on their dietary preferences and favorite ingredients. It provides instant suggestions and a PDF download feature so users can save snack ideas for later.
User Guide
Select Your Diet Type:
- Choose from Balanced, Vegetarian, Vegan, Keto, Paleo, or High-Protein options.
Enter a Main Ingredient:
- Type in an ingredient (e.g., “Almonds”, “Greek Yogurt”, “Berries”).
Find Snack:
- Click “Find Snack” to receive a healthy snack suggestion.
Download as PDF:
- Click “Download Snack Idea (PDF)” to save your snack.
Key Features
✔ Personalized snack suggestions – Based on dietary preference and ingredients.
✔ Ingredient-based search – Finds snacks using your available ingredients.
✔ PDF Download – Save snack ideas for later.
✔ Modern UI – Colorful, stylish, and easy to use.
✔ Quick results – Instant snack suggestions with minimal input.
