clean.js
/*
 * Adds a check box for each room that can be cleaned.
 */
Adds a check box for each room that can be cleaned.
Adds a check box for each room that can be cleaned .
function makeRoomUI(rooms) {
	let parent = document.getElementById('clean-rooms-container');
	for (let room of rooms) {
		parent.appendChild(makeRoomCheckBox(room));
	}
}
function makeRoomUI ( rooms ) { let parent = document . getElementById ( 'clean-rooms-container' ) ; for ( let room of rooms ) { parent . appendChild ( makeRoomCheckBox ( room ) ) ; } }
Adds a check box for each room that can be cleaned.
Adds a check box for each room that can be cleaned .