Conjunto dessas propriedades: em JS
var element = document.getElementById("#element")
element.style.display = "flex";
Betelhem Lemma
var element = document.getElementById("#element")
element.style.display = "flex";