Simple, transparent pricing
Choose the plan that works for you
`;
if (showToggle) {
html += `
MonthlyAnnual (save ${discount}%) \n`;
}
html += `
\n`;
tiers.forEach(t => {
html += `
\n`;
if (t.popular) html += `
Most Popular
\n`;
html += `
${esc(t.name)}
\n`;
html += `
$${t.price}/mo
\n`;
html += `
billed monthly
\n`;
html += `
${t.features.map(f => '\n - ' + esc(f) + '
').join('')}\n
\n`;
html += `
${esc(t.cta)}\n`;
html += `
\n`;
});
html += `
\n
\n`;
if (showToggle) {
html += `