Unable to load tilesets and maps into my game

Thanks for the response, but it didn’t work. I was able to see the canvas being rendered even without the div with ID “game-container” but the canvas is just a black rectangle 800 x 600 pixels.

I had forgotten to add doctype to the html tag, I added it and there still no sign of the map.

There is also a warning in the console which I didn’t mention before.

phaser.js:43859 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. Autoplay policy in Chrome - Chrome for Developers