##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
Set up your environment and write your first JavaScript
What you'll learn
Execution environments
Two environments compared
Your first playground
Printing output
Adding JS to HTML
Separating code from HTML
When scripts execute
Your code editor
Auto-refresh your page
JavaScript outside browsers
Code structure basics
ASI edge cases
Exact spelling matters
Documenting your code
Longer explanations
Catching silent errors
Error examples
Readable formatting
Variable and function names
Understanding what went wrong
Undefined variables
Invalid code structure
Wrong type operations
Finding problems
Logging context
Beyond console.log
Complete starter template
Starting script.js
Your first task
Expanding your skills
Documenting code
Building something real
Extending the project
Working solution
What you practiced
What to avoid
Good habits to build
Preparing for variables
Summary of key concepts