can pawns move diagonally?!?!?
You almost certainly came across en passant. This is a special chess rule. Learn all about it in this official chess.com article: https://www.chess.com/terms/en-passant
If you need help, please contact our Help and Support team.