What is the correct definition of the "Black Codes"?
A. laws that set up equal facilities for black people
B. laws that restricted the freedoms of black people
C.civil rights laws that protected the rights of black people
D.requirements black people had to meet in order to vote