-md`# Observable and dat.gui issues`+md`# Observable and dat.gui issues See https://talk.observablehq.com/t/before-content-for-li-element-affect-dat-gui-hoste-in-observable-notebook-cell/2050`
-html`<div id="guiDiv" style="height:100px;"></div>`+guiDiv = html`<div id="guiDiv" style="height:100px;"></div>`
{ var guiDisplay = {"Show Hidden": false }; var datGui = new dat.GUI();-document.getElementById("guiDiv").appendChild(datGui.domElement);+while (guiDiv.firstChild) { guiDiv.removeChild(guiDiv.firstChild); } guiDiv.appendChild(datGui.domElement);datGui.add(guiDisplay, 'Show Hidden'); }