0
My navbar is showing error when I click menu but it's working in PC. Could you tell me why .
3 Answers
+ 2
Thanks 😊 brother now it working
+ 1
Try removing window onload(){..} function cause the task performs after window querySelector making it undefined.
This is what I figured out.
+ 1
Pawan Kumar
When you call function from an element then don't write function inside window.onload function