JavaScript
Your first program
A practical reference with examples you can run.
Introduction
A program is a set of instructions. Start with one instruction that prints a message. Run it, change the message, and run it again. The edit–run–observe loop is how programmers explore ideas.
Syntax & example
console.log("Hello, CuroCube!");Expected output
Hello, CuroCube!
Common mistakes
- Using a variable before assigning a value to it.
- Mixing text and numbers without converting deliberately.
- Skipping an empty input or a boundary value when testing.
Practice
Change the greeting to include your name.
main.jsYour ideas, in code.
Loading your editor…
Run your code to see the output here.
Ready to buildUTF-81 lines