Skip to content

Instantly share code, notes, and snippets.

@ross-u
ross-u / README.md
Last active April 11, 2025 04:52
MongoDB | CRUD Operations - MongoDB CRUD recap - Exercise

MongoDB | CRUD Operations



@ross-u
ross-u / README.md
Last active October 22, 2019 14:19
LAB SOLUTION - lab-javascript-basic-algorithms (bcn edition)
@ross-u
ross-u / README.md
Last active January 21, 2020 19:29
LAB SOLUTION - javascript-functions-and-arrays
@ross-u
ross-u / README.md
Last active October 20, 2020 12:31
JS | Lecture Summary - Data structures: Objects and Arrays

JS | Data structures - Objects and Arrays

What is a data structure

A data structure is a particular way of organizing data.

The better we can organize our data, the better we can represent people, places, objects, items; the world around us, in code.

@ross-u
ross-u / README.md
Last active January 17, 2020 21:15
JS | Data type - Objects (Summary)

JS | Data type - Objects (Lecture Summary)


Objects are used to store keyed collections of various data and more complex entities.


@ross-u
ross-u / README.md
Last active February 3, 2020 16:32
JS | ES6 - Lecture Summary

JS | ES6

Lecture Summary


ES6 most important changes/new features:

@ross-u
ross-u / README.md
Last active October 23, 2019 15:33
CSS | position property

CSS


CSS Layout - position (static, relative, fixed, absolute, sticky)


static - All HTML elements are positioned static by default, meaning they are positioned with the flow of the page.

@ross-u
ross-u / index.js
Created October 25, 2019 10:07
JS | OOP - Bank Account - Constructor Exercise
function BankAccount {
// Your code here ..
}
/*
account instance {
balance: ... ,
user: ...,
currency: ...
}
@ross-u
ross-u / README.md
Last active January 17, 2020 14:48
JS | Hero Factory - OOP Exercise

JS | Hero Factory - OOP Exercise



For this exercise you can use Repl.it or your code editor.

@ross-u
ross-u / README.md
Last active January 5, 2021 18:27
JS | Object Oriented Intro - Part 1 - objects, methods and `this` keyword

JS | Object Oriented Intro - Part 1 - objects, methods and this keyword

Object-oriented programming (OOP) is a programming paradigm (model/standard) based on the concept of “objects”, which can contain data, in the form of attributes / properties ), and code in the form of functions/procedures ( known as methods).

Objects are the main key/tool/means of OOP. We will try to explain this through example.