Bug - JS Cert - Build A Weather App

Hello! I’m having an issue while working through the weather app project on the JS cert curriculum. When I link my script.js file on my HTML document, the preview stops working and shows 404. When I leave out the script tag on my HTML, the preview seems to work fine.

This sounds familiar. You didn’t, by chance, give your reference to the #location element the same name, did you?

do you maybe have a location variable? please don’t use it, it causes this issue

1 Like