How would you set an element's CSS display property to "none" with JavaScript?February 15, 2022+element.style.display = "none";Every element has a style property, that can be used to change element's CSS properties.