.b1, .b2, .b3{
padding: 1rem;
margin: .5rem;
}
.b1{
background-color: green;
color: white;
}
.b2{
background-color: red;
color: white;
}
.b3{
background-color: yellow;
color: white;
}
<button class="b1">Approve</button>
<button class="b2">Deny</button>
<button class="b3">Void</button>
I need a function whereby any button clicked makes the other two buttons display:none without being able to be displayed again even if that same button is clicked a second time.
Only .b3 when clicked twice should make other buttons reappear.