Comment Comment by ipaddr Better and shorter syntax, plugins, ecosystem.Hide Show```$(".box").hide();$(".box").show();vsdocument.querySelector(".box").style.display = "none";document.querySelector(".box").style.display = "block";``` Both work. The first is more clear parent ipaddr 2 years ago
Hide Show
```
$(".box").hide();
$(".box").show();
vs
document.querySelector(".box").style.display = "none";
document.querySelector(".box").style.display = "block";
``` Both work. The first is more clear