Basics of programming I.
Get a solid foundation of programming and learn key principles that you can build on. Learn to think logically, work with data and create simple programs in JavaScript.
Content:
9 Chapters • 21 Lections • 50 Lessons
Expand all sectionsWorld of programming
What is programming?
Why do we program?
Introduction to programming
Welcome to Learn JavaScript
Welcome to JavaScript
JavaScript Review
First program
First program – Hello, world!
Document.write
Creating simple output
Welcome to the space station
Text color and background
Colored output - Text color
Colored output - Background color
Comments
Comments in programming
Comments in practice
Website structure
Variables
Intro to Variables
Assigning and changing values
Basics of using variables
Basic data types
Strings
Numbers
Overview of data types
Working with data types
Working with variables
Variables and special analysis
Loading data from the user
Addition and subtraction
Programming with numbers
Basic numerical operations I.
Multiplication and division
Multiplication, division and remainder
Basic numerical operations II.
Exercises
Numerical expressions and calculations
Exercises
Banking software – Cash withdrawal
Banking software - Interest calculator
Tasks for demanding people
Solution task for chapters 1 - 5
IF condition
Data type boolean
Let's start with the conditions
Introduction to the conditions
Comparison
Equal to / Not equal to
Comparison operators
Basics of creating conditions
Work with simple conditions
Complete conditions
ELSE / ELSE IF
More complex conditions
Creating compound conditions
Logical operators
Logical operators AND / OR
Joining and combining operators
Creation of complex conditions
Type comparison
Currently preparing (in the coming days)
SWITCH/CASE
Currently preparing (in the coming days)
Random number generation
Currently preparing (in the coming days)
Random range
Currently preparing (in the coming days)
Exercises
Currently preparing (in the coming days)