{"size": 2078, "ext": "js", "max_stars_repo_path": "javascript/app.js", "max_stars_repo_name": "tthompson2/Marketing-Page", "max_stars_repo_stars_event_min_datetime": "2019-09-23T23:39:52.000Z", "max_stars_repo_stars_event_max_datetime": "2019-09-23T23:39:52.000Z", "max_issues_repo_path": "javascript/app.js", "max_issues_repo_name": "tthompson2/Marketing-Page", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "javascript/app.js", "max_forks_repo_name": "tthompson2/Marketing-Page", "max_forks_repo_forks_event_min_datetime": "2019-09-28T13:40:58.000Z", "max_forks_repo_forks_event_max_datetime": "2019-09-28T13:40:58.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 31.9692307692, "max_line_length": 78, "alphanum_fraction": 0.4923002887}
var Click = 0;
    let manipulatableGallery = document.querySelector(".S2")
    manipulatableGallery.addEventListener('click', () => {
        Click++
        if (Click === 0){     
                document.querySelector(".S1").src = "image/stroller1.jpg";
        }else if (Click === 1){
                Clicker = 2;
                document.querySelector(".S1").src = "image/stroller2.jpg";
        }else if (Click === 2){
                Clicker = 1;
                document.querySelector(".S1").src = "image/stroller3.jpg";
        }else if (Click === 3){
                Clicker = 0;
                document.querySelector(".S1").src = "image/stroller4.jpg";    
        }else{
            Click = 0;
            Clicker = 3;
            document.querySelector(".S1").src = "image/stroller1.jpg";

        }
    });
var Clicker = 4;
    let manipulatableGal = document.querySelector(".S3")
    manipulatableGal.addEventListener('click', () => {
        Clicker--
        if (Clicker === 0 || Clicker === 4){     
                Click = 3;
                document.querySelector(".S1").src = "image/stroller4.jpg";
        }else if (Clicker === 1){
                Click = 2;
                document.querySelector(".S1").src = "image/stroller3.jpg";
        }else if (Clicker === 2){
                Click = 1;
                document.querySelector(".S1").src = "image/stroller2.jpg";
        }else if (Clicker === 3){
                Click = 0;
                document.querySelector(".S1").src = "image/stroller1.jpg";
        }else{
                document.querySelector(".S1").src = "image/stroller4.jpg";
                Click = 3;
                Clicker = 4;
        }
    });


cont = 1;
let gifmove = () =>{
        console.log (cont);
        cont++;
    if (cont === 2){
        document.querySelector(".strGif").src = "image/gif2.png";
}else if(cont === 3){
        document.querySelector(".strGif").src = "image/gif3.png";
        cont++;
}else {
        stopgif();
}
};

let giffy = setInterval(gifmove, 150);
let stopgif = () =>{
clearInterval(giffy);
}
