Learning outcomes
- Explain how to load a local script safely.
- Complete the guided activity safely.
- Check that you can separate behaviour from content.
Learn to load a local script safely and separate behaviour from content in this beginner-friendly Visual Studio Code lesson.
Use a non-sensitive practice folder, inspect unfamiliar code before trusting it, and never place passwords, tokens or private information in project files.
Create app.js and confirm it runs after the document loads. The expected result is to separate behaviour from content.