JS/app.js
//(3_1) create constructor function for the products
(3_1) create constructor function for the products
( 3_1 ) create constructor function for the products
function Photo(name) {
    this.name = name;
    this.clicks = 0;
    this.views = 0;
    this.imagePath = `Images/${this.name}`;
    Photo.all.push(this);
}
function Photo ( name ) { this . name = name ; this . clicks = 0 ; this . views = 0 ; this . imagePath = ` ${ this . name } ` ; Photo . all . push ( this ) ; }
(3_1) create constructor function for the products
( 3_1 ) create constructor function for the products