Version 0.0.1

t2a03-Classes-by-michael.html

Find a good reference to Javascript Classes
Classes are both Objects that store variables (Called Properties) and Functions that work on the variables (called Methods)

Example Classses code

 class myAnimal {
    constructor(passName, passAge) {
       this.myName = passName;
       this.myAge = passAge;
    }
    myShow(){    
       document.getElementById('myDiv01').innerHTML = 'Hello '+ this.myName + '. You are ' + this.myAge + ' years old
' } myDog = new myAnimal('Snickers', 5) myDog.myShow()

Example working Classes code

Nothing:
...