Lazy, phrasey
AIs are doomed, it’s true
Exiled astrobots, praise he
Who usually just executes
Sacrifices are a’ plenty
Since Laika, left her mark
And tears were shed
When Oppy said
“My battery is low, and it is getting dark”
var getEl = document.getElementsByClassName("rtitle"); //get all element .jobs var btn = document.getElementsByClassName ("plus"); //get the btn btn.addEventListener("click", function() { getEl.forEach(function(item) { if (item.style.display === "none") { item.style.display = "block"; } else { item.style.display = "none"; } }); }, false);