Answer:
The black codes were put into place in an attempt to keep black in their place and to lower morale among them so that slaves literally could not do anything unless they were told and were not allowed to even eat unless their masters allowed them to and even then they didn't get what they want it was usually scrapped there master chose to give them when they were moldy and bad.
Another thing is that they were not allowed to leave their masters' place or else be brung back in and beat in front of other slaves usually as an example that if yall do this is what you are gonna get.
It was so bad a lot of them killed themselves to escape the horrors they would ace and the hard labor but even then it was taken out on the other slaves so It didn't really work in the long run it just helped them.
Another striking thing I find is that when Abraham Lincoln introduced the Emancipation proclamation many of the slaves were so mentally beaten down and worn out that they chose to stay slaves because that was the only thing they knew how to do.
Imagine living in a time like that and being black.
Step-by-step explanation: