Rendering incoming messages to the screen

To get this done we have to create a place inside our DOM, inside our index.html file, where we can render the messages. Once again we're going to give this element an ID that we can easily access over inside index.js, so we can render those messages.

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.