No need to actually do the main() thing tho with JS For now, just make things work. Even if you're coding to global.
Actually that main() thing is similar to a real pattern people use to not put things in global with JS; called the IIFE, or "Immediately Invoked Function Expression" Example: (function() { console.log("Hello World!"); })(); A nameless function, wrapped in parentheses. Then () is used immediately afterwards so that it's immediately called. It essentially does the same thing as that main() pattern, but there's no need to give it a name. Nameless functions are called lambda or anonymous functions. https://developer.mozilla.org/en-US/docs/Glossary/IIFE Don't feel like you have to use this yet. For realz, just work in global for now.
main() function main(){ var master var text var student // ... }