1.Using notation of es5, create a constructor called Animal() with two properties:
animalName - i.e., 'Lussy'
type - i.e., 'Dog'
Add two methods to the prototype:
animalName - return the name of the animal
createElement - create a new DOM element with jQuery
Create an instance.
Append the instance to the DOM
Question 2:
1.Using notation of es6 create a class called shape() with three properties, all these properties are private:
height - i.e., '13CM'
length - i.e., '12CM'
area - i.e., '256CM2'
Add one method :
getteArea - return the area
Create an instance.
Append the instance to the DOM
Question 3:
Using notation of es6 and arrow function , make a function that filters an array of strings, the array filter depending on the length of the string, all the length above 4 should be excluded.
Create a github repository called 'my-assessment', the repository should contain one HTML file with your name in H1 tag, then upload your your files using git commands.
Question 5:
Fork this repository, write your answers then upload them using git commands .