    <script>
        // Interactive switch examples
        document.addEventListener('DOMContentLoaded', function() {
            // Status switch
            const statusSwitch = document.getElementById('statusSwitch');
            const statusBadge = document.getElementById('statusBadge');
            
            statusSwitch.addEventListener('change', function() {
                if (this.checked) {
                    statusBadge.textContent = 'Online';
                    statusBadge.className = 'bad