Hi I wanted to know what the effect of applying display:none to an element is. Does it remove it from the DOM or just from the document flow? What does removing an element from the document flow implies? I know that visibility: hidden just hides the element, but it still affects the document flow and that you can remove an element from the DOM using the remove() js method.

