A young woman whose alleged dangerous driving has left her friend in a serious condition in hospital has faced court for the first time.