app.js
//* Function to determine the size of the team with additional engineers or interns
Function to determine the size of the team with additional engineers or interns
Function to determine the size of the team with additional engineers or interns
function teamSizeInfo() {
	inquirer.prompt(endManagerQuestions).then((teamSize) => {
		if (teamSize.teamSize === 'Yes') {
			teamMemberLoop();
		}
		if (teamSize.teamSize === 'No') {
			renderHTML(teamMembersArray);
		}
	});
}
function teamSizeInfo ( ) { inquirer . prompt ( endManagerQuestions ) . then ( ( teamSize ) => { if ( teamSize . teamSize === 'Yes' ) { teamMemberLoop ( ) ; } if ( teamSize . teamSize === 'No' ) { renderHTML ( teamMembersArray ) ; } } ) ; }
Function to determine the size of the team with additional engineers or interns
Function to determine the size of the team with additional engineers or interns
//* By choosing yes, you can add another team member to the array. This re-cals the teamMemberloop funciton which goes throught the questions to add a new team member to the array //* If no more members need to be added, then the application is ended by choosing No and then the file is written to the HTML template