Oofsicle This was flagged because of the word "Digging" which mildly resembles another one. Wouldn't you know!
And, this is actually pretty good! I'd suggest you learn about data structures to make platforms more easier! Instead of creating sprites manually, you could make a list of objects: [{x:0,y:0,w:100,h:25}, etc...]
and loop over them to create sprites! That's the next step in coding!