Hi guys why my code not working please help me

let menu = document.querySelector(‘#menu-bars’);
let navbar = document.querySelector(‘.navbar’);

menu.onclick = () => {
menu.classList.toggle(‘fa-times’);
navbar.classList.toggle(‘active’);
};

What is the context? What are you trying to do? What is the rest of the code? Is this in a repo or an online IDE?