Skip to content

Instantly share code, notes, and snippets.

@ross-u
ross-u / README.md
Last active January 16, 2021 13:23
JS | Objects - Objectively - Exercise

JS | Objects

Objectively - Exercise


img

@ross-u
ross-u / README.md
Created October 3, 2019 08:33
JS | Data Structures - Object Library - Exercise

JS | Data Structures

Object Library - Exercise


@ross-u
ross-u / README.md
Last active May 13, 2021 10:28
JS | Value vs Reference - 2 Rabbits and a Magic Hat

JS | Value vs Reference

This exercise is not mandatory, however it may be a good example for understanding the "variables created in functions" and concept of "passing objects (object, arrays and functions) by reference" in JavaScript.

The Riddle: 2 Rabbits and a Magic Hat 🐰 🐇 🎩

@ross-u
ross-u / README.md
Last active January 20, 2020 11:46
JS | Value vs Reference - 2 Rabbits and a Magic Hat

JS | Value vs Reference

This exercise is not mandatory, however it may be a good example for understanding the "variables created in functions" and concept of "passing objects (object, arrays and functions) by reference" in JavaScript.

The Riddle: 2 Rabbits and a Magic Hat 🐰 🐇 🎩

@ross-u
ross-u / README.md
Last active July 5, 2024 13:09
JS | Array methods - map() & forEach() exercise

JS | Array methods - map() & forEach()


Capitalize the Capitals - Exercise


img

@ross-u
ross-u / README.md
Last active January 16, 2020 14:51
JS | Array methods - map() - exercise

JS | Array methods - map()


Get the Final Grade - Exercise


img

@ross-u
ross-u / README.md
Created October 7, 2019 16:21
JS | Array methods - reduce()

JS | Array methods - reduce()

Age Reducer - Exercise


Using the reduce() method provided in the code below, add the age of each person object from the people array and console.log the ageTotal which should equal the sum of all the people's age.


@ross-u
ross-u / README.md
Last active November 5, 2021 09:19
M1 - JS | Array methods - filter()

JS | Array methods - filter()


Filter the listings - Exercise

img

@ross-u
ross-u / README.md
Last active November 4, 2021 11:00
JS | Array methods - Summary

JS | Array methods - Summary


  • forEach() method executes a provided function once for each array element.
  • forEach() does not return a new array.
@ross-u
ross-u / README.md
Last active February 13, 2024 23:43
CSS | Responsive Web Design - Summary