Street racing is legal:

Street racing, also known as drag racing, is illegal and can result in serious injuries or fatalities. Due to the high speeds, drivers are unable to react to common road hazards and other driving situations, often resulting in crashes.
DMV Writen Test Logo