P5js web editor - assets folder

I followed the reference provided here, which also includes the assets folder: https://p5js.org/reference/#/p5/loadImage

Again, it worked when I created the code weeks ago. It just recently failed to load. For this reason, the code that is written shouldn’t be an issue. But if it is, how would you write it?