Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Summary | Functions
course content

Зміст курсу

Introduction to JavaScript

SummarySummary

You have completed all the chapters! This is fantastic! Review what you have learned throughout the course and take a quiz.

Variables and Constants

  • Variable (let) is named storage of value for the multiple usages;
  • Constant (const) is an unchangeable variable.

Data Types

  • number is a numeric data type;
  • string is a text data type. Writing in quotes (" or ');
  • boolean is a logical data type (true or false);
  • array is a collection of values. The most commonly used methods are push(), pop(), unshift() and shift().

Basic operations

  • Assignment (=);
  • Math (+, -, *, etc.);
  • Comparison (>=, <, ==, ===, etc.);
  • Logical (AND &&, OR (||);
  • String Concatenation (+ between strings).

Conditional Statements

  • if (condition) {code block};
  • else {code block} after if;
  • else if (condition) {code block} for a few conditions.

Loops

  • while (condition) {code block};
  • do (code block) while (condition);
  • for (let counter; condition; counter++) {code block}.

Functions

  • function myFunc(arg1, arg2, arg3) {code block};
  • Call the function: myFunc(value1, value2, value3);
  • Use the return keyword to return the value from a function.

Note

Congratulations! You've successfully completed the 'Introduction to JavaScript' course, mastering the basics of JS. If you're eager to delve deeper into this fantastic programming language, you're invited to join the 'JavaScript Data Structures' course, where we'll explore more about data in JS.

1. Conditional Statements are used to:
2. Loops are used to:
3. Functions are used to:

question-icon

Conditional Statements are used to:

Виберіть кілька правильних відповідей

Loops are used to:

Виберіть правильну відповідь

question-icon

Functions are used to:

Виберіть кілька правильних відповідей

Все було зрозуміло?

Секція 6. Розділ 7
course content

Зміст курсу

Introduction to JavaScript

SummarySummary

You have completed all the chapters! This is fantastic! Review what you have learned throughout the course and take a quiz.

Variables and Constants

  • Variable (let) is named storage of value for the multiple usages;
  • Constant (const) is an unchangeable variable.

Data Types

  • number is a numeric data type;
  • string is a text data type. Writing in quotes (" or ');
  • boolean is a logical data type (true or false);
  • array is a collection of values. The most commonly used methods are push(), pop(), unshift() and shift().

Basic operations

  • Assignment (=);
  • Math (+, -, *, etc.);
  • Comparison (>=, <, ==, ===, etc.);
  • Logical (AND &&, OR (||);
  • String Concatenation (+ between strings).

Conditional Statements

  • if (condition) {code block};
  • else {code block} after if;
  • else if (condition) {code block} for a few conditions.

Loops

  • while (condition) {code block};
  • do (code block) while (condition);
  • for (let counter; condition; counter++) {code block}.

Functions

  • function myFunc(arg1, arg2, arg3) {code block};
  • Call the function: myFunc(value1, value2, value3);
  • Use the return keyword to return the value from a function.

Note

Congratulations! You've successfully completed the 'Introduction to JavaScript' course, mastering the basics of JS. If you're eager to delve deeper into this fantastic programming language, you're invited to join the 'JavaScript Data Structures' course, where we'll explore more about data in JS.

1. Conditional Statements are used to:
2. Loops are used to:
3. Functions are used to:

question-icon

Conditional Statements are used to:

Виберіть кілька правильних відповідей

Loops are used to:

Виберіть правильну відповідь

question-icon

Functions are used to:

Виберіть кілька правильних відповідей

Все було зрозуміло?

Секція 6. Розділ 7
some-alt