A "House" class is created with a constructor function that collects the width, height, and color of the house.
The "House" class has two methods:
An object "house1" is created with its properties and the color property, the dimensions and the area of the house are displayed on the screen.
Interesting Articles