diff --git a/submissions/Healthy Food/data.js b/submissions/Healthy Food/data.js new file mode 100644 index 00000000..74d3510a --- /dev/null +++ b/submissions/Healthy Food/data.js @@ -0,0 +1,29 @@ +const foods = [ + "Apple", + "Avocado", + "Banana", + "Blueberries", + "Broccoli", + "Carrot", + "Chia seeds", + "Garlic", + "Green tea", + "Kale", + "Lentils", + "Oats", + "Quinoa", + "Salmon", + "Spinach", + "Sweet Potato", + "Tomato", + "Walnuts", + "Yogurt" +]; + +const tips = [ + "Drink more water throughout the day.", + "Eat a rainbow of vegetables daily.", + "Replace soda with green tea.", + "Snack on nuts instead of chips.", + "Add seeds like chia and flax to your diet." +]; diff --git a/submissions/Healthy Food/manifest.json b/submissions/Healthy Food/manifest.json new file mode 100644 index 00000000..9786e09c --- /dev/null +++ b/submissions/Healthy Food/manifest.json @@ -0,0 +1,14 @@ +{ + "manifest_version": 3, + "name": "Healthy Food", + "description": "Explore healthy food options and daily wellness tips.", + "version": "1.0", + "action": { + "default_popup": "popup.html", + "default_icon": "icon.png" + }, + "permissions": ["storage"], + "icons": { + "128": "icon.png" + } +} diff --git a/submissions/Healthy Food/popup.css b/submissions/Healthy Food/popup.css new file mode 100644 index 00000000..907ba928 --- /dev/null +++ b/submissions/Healthy Food/popup.css @@ -0,0 +1,44 @@ +body { + width: 300px; + font-family: sans-serif; + padding: 10px; + background: #f4fff4; +} + +h1 { + font-size: 18px; + margin-bottom: 10px; +} + +#daily-tip { + font-style: italic; + margin-bottom: 10px; +} + +input { + width: 100%; + padding: 5px; + margin-bottom: 10px; +} + +ul { + list-style: none; + padding: 0; + max-height: 300px; + overflow-y: auto; +} + +li { + padding: 5px; + background: #ffffff; + border: 1px solid #ccc; + margin-bottom: 5px; + cursor: pointer; + display: flex; + justify-content: space-between; + align-items: center; +} + +li.fav { + background: #e0ffe0; +} diff --git a/submissions/Healthy Food/popup.html b/submissions/Healthy Food/popup.html new file mode 100644 index 00000000..fb7cecc5 --- /dev/null +++ b/submissions/Healthy Food/popup.html @@ -0,0 +1,15 @@ + + +
+