Using 8 On/Off buttons to control 8 relays

And in this thread there are no examples of that?

I don't want to hand out black boxes to beginners.
I want them to think and to learn. That's the price and the reward.