function addTabForWizard(wizardDiv, tab, active=false) { const { id, title, description, options } = tab; const li = $(` `); if (active) { li.find('button').addClass('active'); } wizardDiv.find(".nav").append(li); const tabContent = $(`

${title}

${description}

`); // TODO: ADD options } async function wizard(tabs=[]) { const div = $(`
`); }