19. Variables, data types and operators

Lesson 19

Variables, data types and operators

Unlock this lesson

Create a free account, then buy the course to open every lesson.

What you will learn in this lesson

  • Print a message with console.log.
  • Store values in variables with let and const.
  • Tell strings, numbers and booleans apart.
  • Do maths with operators.
  • Build a small price and tax calculator.

50 minutes Lesson 19 of 30

Everything in Web Foundations

  • 30 step-by-step lessons
  • 3 mini projects with solutions
  • A final project for your portfolio
  • Real commands and real output in every lesson
  • Practice task with a solution in each lesson
  • Progress saved to your account