Challenge 3 — Solution Task: Create an array of 5 favourite foods. Use foreach to echo each one numbered (1. Pizza, 2. Sushi, etc.) — you'll need a counter variable you increment yourself, since plain foreach on a simple array doesn't give you a position number directly. "; $number++; } ?> Output: 1. Pizza 2. Sushi 3. Curry 4. Tacos 5. Ramen Notes: - $number is created and set to 1 before the loop starts, then incremented once per iteration inside the loop body - foreach itself has no built-in position counter for a plain indexed array. - $foods as $food gives direct access to each value in turn, with no need to manually index into the array at all. - An alternative would be to use the array's own real keys (0, 1, 2...) with foreach ($foods as $index => $food) and echo ($index + 1), but a separate counter is more explicit about what's actually being displayed to the user.