app.js
//updates the data-oject with the newly entered skill
updates the data-oject with the newly entered skill
updates the data - oject with the newly entered skill
function updateSkills (catagory, location) {
	var targetInputId = catagory + "-" + location + "-input";
	var targetSliderId = catagory + "-" + location + "-value";
	var skill = document.getElementById(targetInputId).value;
	var skillLevel = document.getElementById(targetSliderId).value;
	var skillObject = {
		"skill": skill,
		"level": skillLevel
	}
	data[catagory][location] = skillObject;
	renderResultsJson();
}
function updateSkills ( catagory , location ) { var targetInputId = catagory + "-" + location + "-input" ; var targetSliderId = catagory + "-" + location + "-value" ; var skill = document . getElementById ( targetInputId ) . value ; var skillLevel = document . getElementById ( targetSliderId ) . value ; var skillObject = { "skill" : skill , "level" : skillLevel } data [ catagory ] [ location ] = skillObject ; renderResultsJson ( ) ; }
updates the data-oject with the newly entered skill
updates the data - oject with the newly entered skill