I’d simply add/remove the “hidden” attribute to elements I want to hide/reveal (as already mentioned by Jeremias Menichelli).
https://developer.mozilla.org/en/docs/Web/HTML/Global_attributes/hidden
I’d simply add/remove the “hidden” attribute to elements I want to hide/reveal (as already mentioned by Jeremias Menichelli).
https://developer.mozilla.org/en/docs/Web/HTML/Global_attributes/hidden