This post is to help my future self, specifically for the times when I am debugging JavaScript and trying to understand another one of it’s odd habits. What is Hoisting? When I first heard the term hoisting being applied to a programming language, my first thought was like a flag […]
Estimated reading time: 2 minutes
In this post I give an overview of Emmet and how you can use it in VS Code. What is Emmet? Emmet is an add on to a text editor that uses CSS like expressions which can speed up writing boilerplate primarily in HTML, XML and CSS but can be […]
Estimated reading time: 3 minutes
Here are two methods that can help transform the JSON wind data returned by Openweathermap API into units that users will find easier to understand. I have used these in my own application to convert a JSON response of: into: Wind speed: 12.75 mph in a North East direction. speed […]
Estimated reading time: 2 minutes
The Reload button in Chrome has three options. If you open the Chrome DevTools (F12) the three options are visible by holding down the “Reload this page” button. Normal Reload Windows keyboard shortcut: F5 or CTRL + R Reloads the current page. Hard Reload Windows keyboard shortcut: CTRL + Shift […]
Estimated reading time: 1 minute
Here’s what I learnt when building two To Do applications. One was built using pure JavaScript and the other used jQuery with a smidgen of JavaScript. Each To Do list had to satisfy several basic functions. The user had to be able to add tasks, remove tasks, save tasks and […]
Estimated reading time: 7 minutes