Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor


Nice work! Now that we know how global and functional scope contain variables, let's organize some code to practice.

To the right, we provided you with incorrect sample code. If you try to run it as is, you will get an error because the console.log on line 20 references variables that are within the functional scope of myApartment.

Let's fix our scoping issues!

Report a Bug
If you see a bug or any other issue with this page, please report it here.