How the Apple layout differs
The bottom row runs fn, control, option, command, space, command, option — so the key in the far bottom-left corner, where a Windows board has Control, is fn. The Command keys sit either side of the space bar where a Windows board has Alt, and Option sits where a Windows board has the Windows key.
Because of that, browsers report Apple modifiers under their positional names: Command reports as MetaLeft or MetaRight, Option as AltLeft or AltRight, and Control as ControlLeft. Those are physical positions on a reference board, not statements about what the cap says, which is why the codes look Windows-ish even on a Mac.
The Delete key on a MacBook is what a Windows board calls Backspace, and it reports as Backspace. There is no forward-delete key on a MacBook keyboard; that function is fn plus Delete.