Learning outcomes
- Explain how to group reusable behaviour.
- Complete the guided activity safely.
- Check that you can avoid repeated logic.
Learn to group reusable behaviour and avoid repeated logic 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.
Write and call a small greeting function. The expected result is to avoid repeated logic.