When user visit a web page, the browser will read the HTML and construct Document Object Model (DOM), which allow manipulate specific element of the UI
UI can be build using:
TicTacToe (demo)
NodeJS