home.social

#vanillajs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #vanillajs, aggregated by home.social.

  1. #100DaysOfCode : #VanillaJS

    #Day33 :Classes Exercices from #30DaysOfJavascript

    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

    #WebDev #Frontend #WebDesign #LearnWebDev #Javascript #LearnToCode #LearnJavascript #JS