JavaScript comparison operators
With the comparison operators we compare two operands. Comparison in JavaScript is similar to Java. JavaScript does have some specific quirks you need to be aware of. Especially JavaScript equality...
View ArticleJavaScript arithmetic operators
Arithmetic operators are used to perform basic arithmetic on numbers (integers, floating points etc.). They also perform some actions or manipulation on strings. The operators are mostly the same as in...
View ArticleBeginner Tutorial: Basic html tags
Headings, Paragraphs, Linebreak, Horizontal rule and Non-breaking Space, these are some of the most basic tags you’ll use for your html pages. Check getting started with html tutorial for information...
View ArticleJavaScript Variable Declaration and Initialization
Why do we use variables? A variable is one of the most important concepts in programming. Variables in JavaScript and in programming languages in general are a means to store and keep track of...
View ArticleJavaScript While Loop
When we have a program where we need to repeat certain actions we’ll use some kind of looping construct. There are different kinds of loops and some more implementations of those. In this case we’ll...
View ArticleJavaScript Do While Loop
In a previous article I talked about the while loop. The while loop is a basic construct in JavaScript to repeat certain actions as long as a certain condition evaluates to true. The looping is...
View ArticleJavaScript Ternary Operator
In JavaScript and other programming languages such as Java we could classify the operators by the amount of operands they have. We would have unary, binary and ternary operators. Although this...
View ArticleJavaScript Functions for Dialog Boxes
Although in modern web development we don’t often use these dialog boxes. Clicking away a dialog box can get annoying and we don’t really control how they look. You probably still remember them being...
View ArticleJavaScript Sum All Integers in Range
Lets presume we want to sum all integers in certain range, inclusive. We would have a begin and end value of the range passed to us. Those 2 values are passed to our function using an array. The order...
View ArticleJavaScript reverse a string
In this simple algorithm practice we’ll reverse a string. We have a couple things to consider in this exercise. Strings are immutable so manipulations on a string will result in a new string that we...
View ArticleBeginner Tutorial: HTML Getting Started
1. The HTML file. HTML stands for “HyperText Markup Language“. It’s just a sort of plain-text file, something you could create with notepad (Windows), TextEdit (Mac) and more code-oriënted programs...
View ArticleRun process in background linux terminal
If you’re like me and you started to hate clicking icons to launch projects, you start them from the shell. For example, I open my terminal or have an open terminal and run the vlc command. This...
View Article