In the previous chapter, we looked into styling our chat page more like a real web application and less like an unstyled HTML page. In this chapter, we'll continue our discussion about the chat page and look into join page and passing room data. We are going to update our HTML file and add form-fields for the chat page.
We'll take the name and room values and pass them from the client to the server so the server can keep track of who's in which room and we can set up a private communication. We'll also create test cases for the validation of the data.