Having fun often involves getting dirty -- or in this case, salty! The pictures below show some of the measures used to fight salt getting into the electronics. A dragster is especially prone to this problem, as everything is out in the open and the wheels do not have fenders.
Tape protects the ends of the cables.
The motor was encased in a garbage bag. The tape job shown was done by yours truly. Panty hose protects the intake for the cooling air for the motor. In a the past, enough salt had entered the motor to damage it. Electric motors are often air cooled. In a DC motor, the air also blows out the conductive dust that comes off the brushes.
Bag that controller!
A plastic bag protects the hairball electronics.
Solo: Life With an Electric Car is a fun book about a professor that buys and learns to love his electric car.