Téotime Pacreau · @teotimepacreau
50 followers · 227 posts · Server mastodon.design

:

:Classes Exercices from

Source Code : github.com/teotimepacreau/Clas

Learning :
- class allows to create an object with built in properties
- class `constructor` is the better way to add properties
- this
- class extending to create child objects of the class that herits properties
- `constructor` and `super` to rewrite or add properties to the child class

#100daysofcode #vanillajs #day33 #30daysofjavascript #webdev #frontend #webdesign #learnwebdev #javascript #learntocode #learnjavascript #js

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
50 followers · 224 posts · Server mastodon.design

:

: Sets and Maps Exercices from

Source Code : github.com/teotimepacreau/Sets

- `Set` to get unique elements from an array
- `Map` to organize array in objects using as we want keys
- find unique values in a big array combinating `map` array method, flattening and `Set`

#100daysofcode #vanillajs #day32 #30daysofjavascript #webdev #frontend #webdesign #learnwebdev #javascript #learntocode #learnjavascript #js

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
50 followers · 222 posts · Server mastodon.design

:

: Higher Order Functions Exercices from

Source Code : github.com/teotimepacreau/High

- concatenate strings with reduce
- some, every array method
-populating an object : using a combination of storing object, for...of loop, sort, slice, map
-create object with bracket notation storingObject[key] = value

#100daysofcode #vanillajs #day31 #30daysofjavascript #webdev #frontend #webdesign #learnwebdev #javascript #learntocode #learnjavascript #js

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
49 followers · 212 posts · Server mastodon.design

:

: Object Exercices from

Source Code : github.com/teotimepacreau/Obje

- using for in loops and understanding that it requireds the [index] of the item

- using .every() array method that return a true or false

- structuredClone() to deep copy an object

using Object.keys, Object.values, Object.entries and array destructuring

.find() array method

#100daysofcode #vanillajs #Day30 #30daysofjavascript #webdev #frontend #webdesign #learnwebdev #javascript #learntocode #learnjavascript #js

Last updated 1 year ago

Téotime Pacreau · @teotimepacreau
49 followers · 212 posts · Server mastodon.design
Téotime Pacreau · @teotimepacreau
46 followers · 207 posts · Server mastodon.design
Téotime Pacreau · @teotimepacreau
46 followers · 203 posts · Server mastodon.design
Téotime Pacreau · @teotimepacreau
45 followers · 199 posts · Server mastodon.design
Téotime Pacreau · @teotimepacreau
43 followers · 197 posts · Server mastodon.design
Téotime Pacreau · @teotimepacreau
43 followers · 197 posts · Server mastodon.design