π Hello WorldΒ
I'm Michael, a software developer.
π― I am currently focused onΒ ...Β
β’Β πypeπcript
β’Β πΈngπ¦lar
β’Β πass
β’Β π½ireπase
β’Β πeb π»esiπn
πΒ https://mcote7.github.io/michael-cote/Β
Β πΒ Β Β Certifications
{
"course": NgRx_Store_&_Effects,
"institution": "Ultimate Courses",
"date": "August 2021",
"id": 15
},
{
"course": RxJS_masterclass,
"institution": "Ultimate Courses",
"date": "July 2021",
"id": 14
},
{
"course": JS_advanced,
"institution": "Udemy",
"date": "July 2021",
"id": 13
},
{
"course": Ultimate_Angular,
"institution": "Ultimate Courses",
"date": "July 2021",
"id": 12
},
{
"course": UX_UI_design,
"institution": "Udemy",
"date": "July 2021",
"id": 11
},
{
"course": RxJS_basics,
"institution": "Ultimate Courses",
"date": "June 2021",
"id": 10
},
{
"course": TypeScript_master_class,
"institution": "Ultimate Courses",
"date": "June 2021",
"id": 9
},
{
"course": TypeScript_basics,
"institution": "Ultimate Courses",
"date": "May 2021",
"id": 8
},
{
"course": Design_thinking,
"institution": "Udemy",
"date": "May 2021",
"id": 7
},
{
"course": SASS_workflow,
"institution": "Udemy",
"date": "May 2021",
"id": 6
},
{
"course": Angular_4+,
"institution": "Code with Mosh",
"date": "April 2021",
"id": 5
},
{
"course": JavaScript_es6,
"institution": "Udemy",
"date": "March 2021",
"id": 4
},
{
"course": Redux_architecture,
"institution": "Code with Mosh",
"date": "July 2021",
"id": 3
},
{
"course": React_library,
"institution": "Code with Mosh",
"date": "June 2020",
"id": 2
},
{
"certification": Full-stack_web_development,
"institution": "Coding Dojo",
"date": "June 2020",
"id": 1
}
Β πΒ Β Β Class
interface SizesInterface {
availableSizes: string[];
}
abstract class Sizes implements SizesInterface {
constructor(protected sizes: string[]) {}
set availableSizes(sizes: string[]) {
this.sizes = sizes;
}
get availableSizes() {
return this.sizes
}
}
interface PizzaInterface extends SizesInterface {
readonly name: string;
toppings: string[];
updateSizes(sizes: string[]): void;
addTopping(topping: string): void;
}
export class Pizza extends Sizes implements PizzaInterface {
public name: string;
toppings: string[] = [];
constructor(readonly name: string, sizes: string[]){
super(sizes);
}
public updateSizes(sizes: string[]) {
this.sizes = sizes;
}
public addTopping(topping: string) {
this.toppings.push(topping);
}
}
const pizza = new Pizza('pepperoni', ['small','x-large']);
pizza.addTopping('pepperoni');
pizza.updateSizes(['large']);
class Coupon {
static allowed = ['pepperoni','large'];
static create(percentage: number) {
return `PIZZA_COUPON_${percentage}%_OFF`;
}
}
Coupon.create(25);
From: 17 January 2024 - To: 24 January 2024
HTML 38 mins βββββββββββββββββββββββββ 81.36 %
TypeScript 6 mins βββββββββββββββββββββββββ 13.18 %
JSON 1 min βββββββββββββββββββββββββ 02.83 %
JavaScript 1 min βββββββββββββββββββββββββ 02.41 %
SCSS 0 secs βββββββββββββββββββββββββ 00.22 %