{"size": 944, "ext": "js", "max_stars_repo_path": "src/script.js", "max_stars_repo_name": "ccthatsme/Week4Capstone", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/script.js", "max_issues_repo_name": "ccthatsme/Week4Capstone", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/script.js", "max_forks_repo_name": "ccthatsme/Week4Capstone", "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": 16.8571428571, "max_line_length": 87, "alphanum_fraction": 0.5974576271}


var arrayPrice =[];

function createObj(){
  var y = document.getElementById("BB").value;
  if( y === "bigbertha"){
    arrayPrice.push(100);
  } 
}

var priceArrayMaster = [{bigbertha: 100} ];
var price = priceArrayMaster.bigbertha;
 var array1 =[];
var x = 0;
function addDriver(){
  
  array1.push(document.getElementById("BB").value);
  x++;
  
  
}


function addPrice(){
  
  arrayPrice.push(priceArrayMaster[document.getElementById("BB").value2].bigbertha);
  x++;
}






function display_array2(){
 
  
  var x;
  for (x = 0; x < array1.length; x++){
    var e;
    var text = array1[x] + "<br>" + text;
    document.getElementById("Result").innerHTML += "<p>" + array1[x] + "</p><br>";
  }
}

function display_arrayPrice(){
 
   
  var x;
  for (x = 0; x < arrayPrice.length; x++){
    var e;
    var text = arrayPrice[x] + "<br>" + text;
    document.getElementById("display").innerHTML += "<p>" + arrayPrice[x] + "</p><br>";
  }
}