Next, add a button with an empty onclick attribute and the content Generate a username.

<html>
<body>
  <p id="name">JohnnyG</p>
  <p id="age">25</p>
  <button onclick="">Generate a username</button>
  <p id="username"></p>
  <script src="script.js"></script>
</body>
</html>
]]>

Make sure to assemble <button onClick="">Generate a username </button>.