Section 1 - Instruction

So now we know how to write comments in JavaScript, right? We use the // symbol to make computers ignore certain parts of the code.

Engagement Message

Do you remember what's their main purpose?

Section 2 - Instruction

So far, we've worked with different kinds of information, like text in quotes ("Hello") and whole numbers (42).

JavaScript treats these different kinds of information distinctly. They belong to different categories or types.

Engagement Message

Does this idea of categories make sense?

Section 3 - Instruction

Text enclosed in quotation marks, like "Space Traveler" or "JavaScript", is called a string. Think of it as a string of characters. In JavaScript code, this type is often called string.

Engagement Message

Is "123" a string or a number according to this definition?

Section 4 - Instruction

Whole numbers, like 10, 0, or 999, without any decimal points and quotes around them, are called (specifically integers if they have no decimals). In JavaScript code, this type is called .

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal