playstrategy.org

Is it a bug?

Can anyone tell me if this is a bug?
Look at move six, can Black capture the pawn like this?
I know I played badly, but can anyone tell me if this is a bug or if it's actually a valid move?😅😅😅
I'm very very noob at chess...
please don't mind it...
Can any chess expert answer my question?
Thx

My game link: playstrategy.org/Eml4qcXY

Reconnecting