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