Documentation Index
Fetch the complete documentation index at: https://js.maxbraglia.com/llms.txt
Use this file to discover all available pages before exploring further.
Creating hello.js
Create the file
Open this folder in VS Code:Create a new file called
hello.js and add this code:hello.js
What’s happening here
constdeclares a variable (you’ll learn more in the JavaScript Core section)console.log()prints output to the terminal — JavaScript’s version of Python’sprint()- Backticks
`with${}let you embed variables in strings — like Python’s f-strings
- JavaScript
- Python
Try the browser console
You can also run JavaScript directly in your browser. Open any browser, pressF12, and click the Console tab.
console.log() for simple expressions — the console shows the return value automatically.
What’s next?
You’ve run JavaScript in two places — Node.js and the browser console. Let’s explore the different ways to run JavaScript during development.Running JavaScript
All the ways to run JavaScript code