How to move focus from button to another button
I tried to focus or trigger but it's not working. Please let me know if you have any knowledge. Thanks in advance!
function myFunction() {
let closeBtn = document.getElementById('close-btn');
closeBtn.focus();
}