After accessing user input, we can use it like any other value.

Try running your code and registering a username to see what displays in the console.

<html>
<head><style>body {min-height: 300px;} input { font-size: 16px; } textarea { font-size: 16px; } </style></head>
<body>
  <input id="usernameInput" type="text" placeholder="Username">
  <button onclick="register()">Register</button>
  <p id="message"></p>
  
  <script>function register() {
var username = document.getElementById("usernameInput").value;
console.log(username);
}</script>
</body>
</html>]]>