I've been watching your javascript tutorials on making a toggle menu and debugging, and I've noticed that my js is not connecting. (At the mobile size, I want to click and toggle the ul in my nav).
I think this is the case because when I inspect my page in firefox, there are no files listed in the debugging tab in inspector. Also, the console.log won't spit out any variables when I test them.
I have the script tag linking to main.js in my html file. I'm not sure what else could be breaking the connection?
This is my html (I am using the button to toggle the .menu section, which controls the navigation's ul):
Hi @thomasjbradley,
I've been watching your javascript tutorials on making a toggle menu and debugging, and I've noticed that my js is not connecting. (At the mobile size, I want to click and toggle the ul in my nav).
I think this is the case because when I inspect my page in firefox, there are no files listed in the debugging tab in inspector. Also, the console.log won't spit out any variables when I test them.
I have the script tag linking to main.js in my html file. I'm not sure what else could be breaking the connection?
This is my html (I am using the button to toggle the .menu section, which controls the navigation's ul):
With this link at the bottom
And the CSS
And the JS
Any ideas?
Thanks!
Viv