Hi there. In this situation, you would use the display attribute on the container’s style properties.
rulesContainer.style.display = 'grid';
This sets the display style to grid. The default style for html elements is block though. Likewise, ‘none’ hides the element on the page.
Figure out how to set the right display style, and you’ll be golden. Remember if the modal is showing, it should be visible. Otherwise, nothing should be displaying.