const toggle = document.getElementById('language-toggle'); toggle.addEventListener('change', (event) => { window.location = toggle.value; });