When you park parallel to a curb or edge of roadway, you must:

When parking on a public road, you must park parallel to and within 18 inches of the curb or edge of the roadway. Your vehicle should be facing in the same direction as the traffic is moving on your side of the road.
DMV Writen Test