Fred Stiens
JavaScript Tutorial Exercise 6: Datatypes part 2
JavaScript provides several primitive data types, including strings, numbers, booleans, and symbols. While most developers regularly work with strings and numbers, the Symbol data type is less commonly encountered. Introduced in ECMAScript 2015 (ES6), Symbol…
JavaScript Tutorial Exercise 4: Calculating 21% VAT and Formatting Prices with toFixed()
JavaScript is not only useful for creating interactive websites. It can also perform mathematical calculations, process financial data, and format numerical results. In this tutorial, we will create a simple JavaScript function that calculates 21%…
JavaScript Tutorial Exercise 3: Executable
Variables JavaScript Exercise 3 Test You will see the result in the Console of the web browser (Press F12 to see it and select the Console tab)
JavaScript Tutorial Exercise 3: Converting Fahrenheit to Celsius
Temperature conversion is a practical example of how JavaScript can perform mathematical calculations using variables and arithmetic operators. In this tutorial, we will create a simple JavaScript function that converts temperatures from Fahrenheit to Celsius.…
JavaScript Tutorial Exercise 2: Understanding Strict Mode, Variables and Functions
In our previous JavaScript exercise, we created a simple application that displayed a message using the alert() function. Now it is time to take things a little further. In this second exercise, we will create…
Javascript Tutorial Exercise 1: Hello World
When learning a new programming language, displaying a simple “Hello World!” message is often the first exercise. Although the result might seem trivial, even a few lines of JavaScript can introduce several important programming concepts.…







