How to control 2 5V solenoids and have a button for each.

I am making a project and want to include 2 solenoids and was wondering how to add a button for each solenoid so when one might push the button the solenoid turns on.

Please respond ASAP if you have any information that might be useful. The project is due very soon.


We already tried that and somehow the solenoid stopped working.

Then you must not have done it right.

Does the solenoid still work if the button is not there and it is just a simple connection. If so then is that button capable of transferring the much current.