Cant FInd File [object HTMLDivElement]

Cant FInd File [object HTMLDivElement]
0.0 0

#1

I’m working on a new version of the local weather project using fetch but am having some trouble. Everything had been working fine until I refreshed my page and firefox couldnt find it. I had noticed that at the end of the file path it had [object HTMLDivElement] added onto the end.

I cant figure out what went wrong because I was able to receive the .json data at one point.

HTML Gist - https://gist.github.com/ajess33/5b629fc5a553fff4474cfd5abf89f58f

JavaScript Gist - https://gist.github.com/ajess33/28986581b98e78de7cc55395dd8d4569


#2

All I did was add method: ‘get’ and that seemed to fix it