Navigating the Document Object Model with vanilla JavaScript to update a user interface can quickly become cumbersome.