Adding classwork and homework

I think I'm pretty good on the stuff below.. but I could be wrong!
Sweet that you were able to implement two ways. Which do you think is more friendly for ongoing maintenance?