On this page you can find some examples for the more practical part of the course. The complexity is increasing with each example. Although, only one concept is always touched by each example and explained. Open the page and also the console in order to see the results of the displayed code.
The explanation for each example will be given during the course as we are working through them. Each example is standalone, which means that it is possible to copy the source code and paste it to a new file on the local machine in order to make the example work. Therefore no navigation is included.
Hello World - This is the first example along the road to learn JavaScript. We will deal with the basic concepts and a quick tryout before we dive deeper into the language.
Example
Types & Variables - Will introduce you to foundation of each programming language, the variables and data types. See the basic and advanced types and also the variable declartion.
Example
Operators - Are one of the most important parts for understanding not only the language but enhance the possiblities and functionality with it.
Example
Comparisons - Help us to evaluate some expressions and statements. We can also enhance the programs functionality even further by using them.
Example
Conditionals & Loops - A concept no programming language can work without. A lot of our functionality is derived from their power.
Example
Functions - A concept no programming language can work without. A lot of our functionality is derived from their power.
Example
Objects - JavaScript considers everything as an object basically. An essential lesson for every JavaScript developer.
Example
Built-In Objects - As JavaScript considers everything an object there are of course some really important built-in objects. We will explore the most important ones here.
Example
Just a Placeholder ;) - Nothing to see here yet.
Example