The museum display contains last month's tour, an incorrect opening time, and a draft list. Fix each without rebuilding the entire display.
Edit script.js. The provided IDs tell you which elements to change. remove acts on the unwanted element, replaceWith acts on the old hours, and replaceChildren acts on the parent whose children should disappear.
The replacement hours need a new li with safe text, just as the community notice demo created a new market notice. Replacing that one element should leave Sculpture walk untouched.
#expired while keeping its parent #exhibits.#old-hours with a new text-only li labeled Gallery opens at 10 am, in the same position before Sculpture walk.#drafts with replaceChildren() without removing the list itself.Run after each change. The first step removes only the expired tour; the second corrects the hours; the third clears the draft. Submit checks those outcomes separately in that order.
replaceChildren() with no arguments empties a parent without deleting it.