document.getElementById("box").remove();
document.querySelector('#out').textContent = document.getElementById("box")?"box is still here":"the box went too";
0 × 0
Output ready when you are
Press Run to render your code, or Submit to validate your solution.