At the seed desk, setting the input's value property changed its current value without changing the HTML default, and nodeType distinguished a label element from its text child. Now prepare a room sign for a library meeting. Its input starts with value="West room", but the current assignment is East room.
For another setting, a park kiosk could read the markup default and a text child like this:
const route = document.getElementById("park-route");
const title = document.getElementById("route-title");
const defaultRoute = route.getAttribute("value");
const headingKind = title.nodeType;
const wordsKind = title.firstChild.nodeType;
Edit only script.js. Set the room input's current value property to East room and show that property in #current-room. Read the untouched value attribute into #default-room. Finally, report #room-label's node type and its text child's node type in #room-node-types as 1 / 3. Run the preview before submitting: the input changes, but its original HTML attribute remains West room.
#room-input.value to East room. The supplied HTML value attribute stays West room; do not edit the markup.value property in #current-room.value attribute with getAttribute and display it in #default-room.#room-label.nodeType and its firstChild.nodeType in #room-node-types as 1 / 3.