-
Continue reading →: Variables (JavaScript)
Over its lifetime JavaScript has increased the ways that variables can be declared. I am going to take a brief look at the various methods I have come across so far that can be used. var test The var keyword declares a variable (in this case called test) which can…
-
Continue reading →: Installing Node.js (Raspberry Pi / JavaScript)During winter 2017 I went through the process of using a Raspberry Pi, as a web server / looking at LAMP (Linux, Apache, MySQL, PHP). With my recent interest in JavaScript I have decided to look at installing Node.js on my Raspberry Pi. Node.js is a free open source environment…
-
Continue reading →: Updating Web Text Content (JavaScript)My original Countdown blog post mentioned that the JavaScript could be used to update content on a webpage (e.g. the countdown could countdown in real time and update on a page as it does so). I touched upon a method to do this, however I will expand a little bit…
-
Continue reading →: Functions (JavaScript)I am revisiting my JavaScript Countdown to turn elements of it into JavaScript functions. A function allows for parts of code to be reused easily without having to recreate the segment of code every time it is needed. For example, below I have created a basic function that prints “Hello…
-
Continue reading →: Countdown (JavaScript)JavaScript has a function called Date() which can either return todays date (24th September 2018 as I write this) or be used to set a date. August 2019 has an important event for me, so I decided to use JavaScript to create a countdown that counts how many days are…
-
Continue reading →: Tabs versus Spaces
This evening whilst setting up ESLint I was asked the question of which I preferred, tabs or spaces and instantly I thought of this: Tabs versus Spaces from HBO’s Silicon Valley Season 3 Episode 6. What is it all about? When writing code there are times when the code…
-
Continue reading →: Astro Pi (Raspberry Pi)During Autumn 2017 the Code Club I was running took part in Astro Pi 2017/18, as discussed in my blog post: https://geektechstuff.com/2018/01/31/astro-pi-mission-zero-day-2018/ . The great news is that the Astro Pi 2018/19 challenges are now live! If you want to take part please make sure to visit the official website: https://astro-pi.org…
-
Continue reading →: BlackJack Part 2 (JavaScript)I managed to finish my JavaScript console version of BlackJack which I started just over a week ago (see BlackJack V1). I got a little bit lost with the while looping and then needed to define how the player wins or loses but I think it now works as expected.…
-
Continue reading →: Binary (GTV2)
Binary is a base 2 system which uses 1s and 0s to represent on and of. All programsr are turned into binary.
-
Continue reading →: ARM Assembly Code (Raspberry Pi)On Saturday 8th September my son and I visited my local Pi Jam in Manchester, where Jack Kelly (Twitter: @SecretImbecile) was giving a workshop on ARM assembly code. Before I continue I would recommend readers to give the Crash Course Computer Science video below a quick view as it explains registers,…



You must be logged in to post a comment.