JQuery to JavaScript Converter Online
// this worked for me
https://www.workversatile.com/jquery-to-javascript-converter/
Better Barracuda
// this worked for me
https://www.workversatile.com/jquery-to-javascript-converter/
There is no i guess:D
const menu = document.querySelector('.menu_container');
const menuSection = menu.querySelector('.menu_body');
const menuArrow = menu.querySelector('.menu_back');
const menuClosed = menu.querySelector('.menu_close');
const menuToggle = document.querySelector('.menu_toggle');
const menuOverlay = document.querySelector('.menu_overlay');
//let subMenu;
// Windows Screen Resizes Function
window.onresize = function () {
if (this.innerWidth > 991) {
if (menu.classList.contains('active')) {
toggleMenu();
}
}
};
function fun(){
document.getElementById('demo').id='change'
}
function fun(){
document.getElementById('demo').id='change'
}