Category: Experience API

Learning Experience Platform (LXP), LMS functionality and Data Analytics. World class learning, all in one platform.

// Toggle the pricing visibility based on the checkbox state document.getElementById('pricing-toggle').addEventListener('change', function() { const isChecked = this.checked; const monthlyPrices = document.querySelectorAll('.support-card[data-price="monthly"] .price'); const annualPrices = document.querySelectorAll('.support-card[data-price="monthly"] .price'); if (isChecked) { // Show annual pricing and hide monthly pricing monthlyPrices.forEach(price => price.style.display = 'none'); annualPrices.forEach(price => price.style.display = 'block'); document.getElementById('pricing-label').innerText = "Annual"; } else { // Show monthly pricing and hide annual pricing monthlyPrices.forEach(price => price.style.display = 'block'); annualPrices.forEach(price => price.style.display = 'none'); document.getElementById('pricing-label').innerText = "Monthly"; } });