2D shapes [slider puzzle] [names] [c]

slider puzzle Sliding Puzzle Quiz (vanilla javascript)
Moves: 0
[News Flash]
Above is a 3 x 3 grid. In the grid are 8 words and pictures which appear each time you start the activity. They are all to do with the phases of the Moon. The key is the BLANK frame. You can move any HORIZONTAL or VERTICAL "next door" picture into a BLANK frame simply by clicking on it. Your task is to see if you can move the pictures around until all of the shapes follow each other in order of the number of sides they have, around the BLANK frame in the middle. To restart the activity just refresh the page.