stalinbalraj / labels-clockwise-rotate Goto Github PK
View Code? Open in Web Editor NEWWe want to create nine buttons enclosed in a div, laid out so they form a 9*9 grid. Each button has a distinct label from 1 to 9, and the labels on the outer buttons must rotate in the clockwise direction each time we click the middle button.