Knowing how to get user input, we can use it to update a webpage.

Assemble the code so that the value of username appears on the webpage when clicking on the Register button.

<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;
document.getElementById("message").innerHTML = username + ", you're signed up!";
}</script>
</body>
</html>]]>

Make sure to assemble .innerHTML = username.