JavaScript Basics Glossary

Quick reference for terms used in this workshop.

JavaScript: A programming language that runs on computers, in web browsers, and on servers.

Node.js: Software that lets you run JavaScript outside of a web browser, in a terminal or on a server.

variable: A named container that stores a value; like a labeled box for information.

let: Keyword to create a variable that can change values.

const: Keyword to create a variable that cannot change (constant).

string: Text data wrapped in quotes, like "Hello" or 'World'.

number: Numeric data without quotes, like 42 or 3.14.

boolean: True or false values: true or false.

console.log: A JavaScript command that displays information in the terminal.

concatenation: Joining strings together using the + operator.

operator: A symbol that performs an operation, like + for addition or joining.

syntax: The rules for writing valid JavaScript code.

error: A message telling you something is wrong in your code (helpful!).

camelCase: Writing style where first word is lowercase, next words capitalized: myVariableName.

terminal: A text-based interface to control your computer using commands.

command: An instruction you type in the terminal to make the computer do something.