Local variables have a specific scope, meaning you cannot reference them outside of their current context.
Global variables, on the other hand, are accessible globally, which means that you can access them anywhere within your JavaScript code, like within any of your functions.
In this exercise, you'll be creating a new function that accesses global variables and updates their values from within your function.
Go to the "script.js" file and follow the coding instructions.
When you're done with the instructions there, you can call your new function in the input below with whatever string arguments you want and they'll be displayed on the page in the "Results" block when you hit the "Run Code" button.
First College Choice:
Second College Choice:
Third College Choice: