Images in javascript

https://www.codecademy.com/paths/create-video-games-with-phaser/tracks/game-dev-learn-phaser-basics-and-physics/modules/game-dev-learn-phaser-basics/projects/learn-phaser-create-an-adventure

every time i try to add an image, i get a black box with a green line through it.