I have validated code but it is missing semicolon.
let trans = () => {
document.documentElement.classList.add('transition');
window.setTimeout(() =>
{
document.documentElement.classList.remove('transition')
}, 1000
);
}
Misisng ; before statement. Even if I put ; before statement it will not be validated with without an error.
Need help.