NC school board approves online course requirement