Rendering the users name to the chatroom

The last thing to get done is to actually render the names to the screen. Instead of just printing them in the console, we want to go ahead and take these names and add them to the list, that's going to happen over inside of our event listener in server.js. We're going to use a jQuery like we have in the past. Inside chat.js we're going to do something with those users.

Get Advanced Node.js Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.