← All tasks
🔍
Programming Beginner

Fix an Undefined Variable Notice

⏱ 5 min ⭐ 120 XP 🔁 3 attempts allowed

What you'll do

Find the line that triggers an 'undefined variable' warning because a variable is used before being set.

Scenario

A script logs a warning every time the 'discount' query parameter is missing.

Ready to try it?

Create a free account and try "Fix an Undefined Variable Notice" free for 7 days, no card required. Earn 120 XP and track your internship progress.

Already have an account? Sign in