How can I use a loop to go through these buttons instead of writing this 5 times.
document.getElementById("b1") = click;
document.getElementById("b2") = click;
document.getElementById("b3") = click;
document.getElementById("b4") = click;
document.getElementById("b5") = click;