Naming section

We'll need to know who our chatroom attendee is. Add an input element to capture the username and a button to call the enterChat function:

  • <input id="username" type="text" class="form-control" />
  • <button class="btn btn-default" onclick="enterChat()">Enter</button>

Get C# 7 and .NET Core 2.0 Blueprints 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.