app.js
//creates the new catagory for the skills to be entered
creates the new catagory for the skills to be entered
creates the new catagory for the skills to be entered
function createNewCatagory () {
	var newCatagory = document.getElementById('catagory-input').value;
	if (newCatagory !== '') {
		data[newCatagory] = [];
		document.getElementById('results').appendChild(skillsWrapper(newCatagory));
		document.getElementById('catagory-form').reset();	
	}
	renderResultsJson();
}
function createNewCatagory ( ) { var newCatagory = document . getElementById ( 'catagory-input' ) . value ; if ( newCatagory !== '' ) { data [ newCatagory ] = [ ] ; document . getElementById ( 'results' ) . appendChild ( skillsWrapper ( newCatagory ) ) ; document . getElementById ( 'catagory-form' ) . reset ( ) ; } renderResultsJson ( ) ; }
creates the new catagory for the skills to be entered
creates the new catagory for the skills to be entered