Hi @noppita,
This post is likely worth a read:
The slots are labelled on the PCB with silkscreen (white text), but for your reference
- the yellow (signal/PWM) wire goes closest to the edge of the board
- the red (power) wire goes in the middle of the connector
- the black (ground) wire goes in the remaining slot, at the edge of the connector that’s closest to the middle of the board