All topics

JavaScript

  1. Easy as PI Weather Station - create a Node.js web service in 5 minutes

    Introduction In the last article we created a Python script to collect environmental data from a Sense Hat equipped Raspberry PI. This article will add to that by creating a web service that will display all logged en…

  2. Write your own Chrome extension

    Have you ever wondered how to create a Chrome extension? What magic happens under the hood? Well look no further. I am going to walk you through a simple Chrome extension which hopefully will give you enough informati…

  3. Javascript 5 versions and features

    I am going to start with version 5 as this was a game changer, bringing JSON, new String and Array functions and various syntactical improvements. Prior to that things were a little, well...meh with different browsers…

  4. Hoist away

    What is hoisting and why should you care? Hoisting means you can do this Hmm, looks okay doesn't it? Hang on, the variable x is being initialized before it is declared. Yes, that is because the interpreter has placed…

  5. ES6 classes the easy way

    Creating classes using Javascript is a strange affair with multiple exotic constructs, which adds up to a lot of confusion especially for novice coders. Now with the advent of ES6 finally we have a way to define and c…