Gabriele Ferro Home

OpenClassRooms, Codecademy, freeCodeCamp

Continuing with my typical routine I have made progress here and there.

On OpenClassRooms I am following the certified training for Web Developer.

On Codecademy I'm reviewing for the umpteenth time JavaScript thanks to their course.

On freeCodeCamp I'm finishing the "JavaScript Algorithms and Data Structure Certification" section.

Day 65: 17 October 2020

**Today’s Progress:**

I completed the course "Use REST APIs for your web projects" on OpenClassRooms.

This course would have been very useful to me for my fifth project, but instead it was suggested for the sixth project.


FUNCTIONS Review & Cheatsheet

Give yourself a pat on the back, you just navigated through functions!

In this lesson, we covered some important concepts about functions:

  • function is a reusable block of code that groups together a sequence of statements to perform a specific task.
  • function declaration :Diagram showing the syntax of a function declaration
  • A parameter is a named variable inside a function’s block which will be assigned the value of the argument passed in when the function is invoked:JavaScript syntax for declaring a function with parameters
  • To call a function in your code:Diagram showing the syntax of invoking a function
  • ES6 introduces new ways of handling arbitrary parameters through default parameters which allow us to assign a default value to a parameter in case no argument is passed into the function.
  • To return a value from a function, we use a return statement.
  • To define a function using function expressions:defining a function expression
  • To define a function using arrow function notation:alt
  • Function definition can be made concise using concise arrow notation:comparing single line and multiline arrow functions

It’s good to be aware of the differences between function expressions, arrow functions, and function declarations. As you program more in JavaScript, you’ll see a wide variety of how these function types are used.

I spent an hour on freeCodeCamp to find a JavaScript challenge within my reach. I still have ten to complete but at the moment I have no idea how to code the solution.

I wasted about an hour to "create a person". Without any results.


First day of work & study after two weeks of vacation… I can do it.

**Link to tweet:**

[twitter-follow screen_name='20Gabriele20']

July 2024


Gabriele Ferro Home
Copyright © Ferro Gabriele. All rights reserved.