π INDEX
LOADING ENGINE...
JS Syntax
Learn the foundations of the world's most popular language.
syntax.js1/4
π
Syntax Preview
Tutor: JavaScript is the language of the web. The basic syntax starts with variables. We use 'let' for values that change and 'const' for constant values.
Variables and Types
In JavaScript, we declare containers for information.let allows the value to be changed, whileconst is for data that remains the same.
- Strings: Text like "Hello World".
- Numbers: Values like 42 or 3.14.
- Booleans: Only true or false.
Challenge: Statement Order
let
name
=
'Ada'
;
Your Achievements
π¦
Variable Voyager
Correctly declare variables using let and const.
βοΈ
Syntax Samurai
Correctly order a JavaScript statement.
π§
Logic Legend
Master basic data types.