app.js
// generate and return a block of HTML including templated divs for each employee!
generate and return a block of HTML including templated divs for each employee!
generate and return a block of HTML including templated divs for each employee!
function renderTeam() {
    const data = render(employees);
    fs.writeFile(outputPath, data, (err) =>
    err ? console.log(err) : console.log('Successfully created team!'));
}
function renderTeam ( ) { const data = render ( employees ) ; fs . writeFile ( outputPath , data , ( err ) => err ? console . log ( err ) : console . log ( 'Successfully created team!' ) ) ; }
generate and return a block of HTML including templated divs for each employee!
generate and return a block of HTML including templated divs for each employee!
// declare a variable containing the rendered output from employees data // write the data to the file team.html