visibility none in javascript code example Example: js set visibility of div Check this! https://dev.to/devlorenzo/js-hide-and-show-32og