{"size": 919, "ext": "js", "max_stars_repo_path": "Week2/JS/add-content.js", "max_stars_repo_name": "arvindrthd3/ITE220", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Week2/JS/add-content.js", "max_issues_repo_name": "arvindrthd3/ITE220", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Week2/JS/add-content.js", "max_forks_repo_name": "arvindrthd3/ITE220", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.6333333333, "max_line_length": 79, "alphanum_fraction": 0.6180631121}
var products = ["Stamford T-Shirt", "Stamford Notebook", "Stamford Wristband"];
var price = [10, 5, 5];
var total = 0;
var i = 0;

var productList = document.getElementById("productList");
while(i<3){
productList.innerHTML += "<li>" +products[i] + ": $" + price[i] +"</li>";
total += price[i] - price[i] * .20;
i++;
}
//total = price[0];

var totalPriceEle = document.getElementById("totalPrice");
totalPriceEle.textContent = "$" + total;

var myDate = new Date();
var date = document.getElementById("date");
if ( myDate.getHours() < 12 ) {
		date.textContent = "Good Morning!"; 
    }
    else  if ( myDate.getHours() >= 12 && myDate.getHours() <= 17 ) { 
    	date.textContent = "Good Afternoon!"; 
    } 
    else if ( myDate.getHours() > 17 && myDate.getHours() <= 24 ) {
        date.textContent = "Good Evening!"; 
    }

    var nameELe = document.getElementById("name");
        nameELe.textContent = "Arvind"; 