Hello all! I hope you are all well, it’s been a hot minute since I last wrote here, as I’ve been busy working in this new bootcamp that I joined up with since the beginning of March, at Neue Fische (German for New Fishes) here in Hamburg.
I spoke with the teacher yesterday and he allowed me to talk about my journey here with you all within reason, so I’ll just keep it short and sweet.
The bootcamp has been excellent so far, we started at the very basics of Web Development, looking at HTML and CSS, getting comfortable with…
Oh wonderful! Finally something I’ve seen online that I’ve always wanted to know, incoming big itch about to get scratched!
Template Literals. What are they? Well, when we create strings with string interpolation (where placeholders are set in a string and later replaced with their desired values), we connect a template string sentence together with our key variable words slotted in the placeholders for…
Hello everyone! Hope you all had a lovely weekend, and feeling rested and ready to join me learning more of ES6 with FreeCodeCamp, let’s jump back in and take a look into the Destructuring Assignment..
Destructuring assignment is a syntax that allows you to assign object properties or array items as variables. This can greatly reduce the lines of code necessary to manipulate data in these structures. There are two types of destructuring: Object destructuring and Array destructuring.
We all remember how to get to the value of an object by parsing through the Dot Notation right…
Good morning my dears, are we all keeping well? Thanks for joining me on this section of ES6 Part 2. Today we’ll look at arrow functions and some other flexible tools. Let’s crack on! Cheers as always to FreeCodeCamp for the lessons.
Arrow functions help us write concise anonymous functions. What do we mean by this? Well we often don’t require all functions to have a name, especially when passing one as an argument to another, instead they exist as inline functions. They are for single use and not required afterwards elsewhere.
Take a peek at this syntax:
Until now, we’ve been covering ES5 which was finalised in 2009, it can still be used to code, however much like other…
We now know how to use recursion instead of a for loop, now let’s look at a function which by using recursion, returns a series of integers into an array, starting from 1.
Firstly we need a…
Thanks as always to FreeCodeCamp for the lessons.
If we want to create random behaviour in JS, we can do so by creating random numbers. The Math.random() function generates a random decimal number between and including 0 up to…
Another type of loop that we can work with is a do..while loop, and basically takes the framework of a while loop and turns the execution order of its condition and statement around. So, where a while loop says “while this is happening (condition), do this (statement)..” and do while loop says “do this (statement)… while this (condition) is happening”
Welcome back everyone and happy day 50! It’s so good to be able to say that I’ve successfully stuck to blogging as I code for this long, and as we are always learning there will always be something to learn!
So let’s start on a new topic now, looking at While Loops and Do Loops. Cheers as always to FreeCodeCamp for the lessons.
When we create a while loop, we are saying that “while” the conditions of the argument is true, the loop will continue and stop when the conditions are false. …
Step by step, learning to code with FreeCodeCamp