test-food

Food Components Gamified Module (WP/Gutenberg Safe)

Food Components Explorer

Learn the 7 essentials: Carbs, Proteins, Fats, Vitamins, Minerals, Fiber, Water

Complete each level to earn XP, stars ⭐ and badges πŸ….
Gutenberg Safe: No inline onclick. Everything uses JS event listeners.

Rewards: Earn XP, Stars ⭐, and Badges πŸ… by completing levels with fewer mistakes.
  1. Level 1: Match component with function.
  2. Level 2: Drag foods into categories (2 correct each).
  3. Level 3: Memory match icons.
  4. Level 4: Balanced meal simulation with consequences.
Level: 1/4
XP: 0
Stars: 0 ⭐
Badges: 0 πŸ…
Progress

Level 1: Match Components with Functions

Click one left + one right to match.

Components

Functions

🧩
Tip: Carbs = energy, Proteins = build/repair, Fats = store energy.

Level 2: Drag & Drop Classification

Drop foods into correct categories (2 each).

Food Bank

Drop Zones

Carbohydrates
Proteins
Fats
Vitamins/Minerals
Fiber-rich
πŸ₯—
Rule: Each zone needs 2 correct items. Distractors stay in bank.

Level 3: Memory Match

Find matching pairs.

Moves: 0
Matches: 0/8
🧠
Tip: Fewer moves = bonus XP!

Level 4: Balanced Meal Simulation

Adjust sliders to balance energy + health. (Aim >= 60% for both)

🍞
πŸ—
🧈
🍊
⚑
πŸ’ͺ
πŸ›‘οΈ
Balanced Meal Lab 🍽️
Balanced β†’ bubbles appear. Unbalanced β†’ health drops.

Controls

Carbs 🍞 40
Proteins πŸ— 30
Fats 🧈 20
Vitamins 🍊 35
Energy: Good
Health: Good
🍎
Consequence: Too much carbs β†’ crash. Too little protein β†’ weak muscles.
Scroll to Top