I already solved it, but I was just wondering if there was a more efficient way of writing the code
function p(){
document.getElementById("boom").style.display = "block";
document.getElementById("boom1").style.display = "block";
document.getElementById("boom2").style.display = "block";
document.getElementById("boom3").style.display = "block";
}
p();
The result is what I expected but I was just wondering if there is an easier way to write it