How would i make a tile system

I want to make a tile system out of sprite. im coding in JS btw.

heres the project btw https://arcade.makecode.com/S83593-36193-98699-74771

anyone know how to?