const btn = document.getElementById('langDropdown'); const menu = btn.nextElementSibling; // the