Grid like navigation

I followed this grid navigation on code pen but im having trouble with adding buttons to the icons

Please can someone tell me the correct way of doing this

thanks