<!DOCTYPE html>
<html lang="zh-Hans">
<head>
  <meta charset="UTF-8">
  <title>KeyboardEvent.key</title>
  <link rel="stylesheet" href="style.css">
  <script src="main.js" defer></script>
</head>

<body>
  <div class="fx">
    <div>
      <textarea rows="5" name="test-target" id="test-target"></textarea>
      <button type="button" name="btn-clear-console" id="btn-clear-console">清除控制台</button>
    </div>
    <div class="flex">
      <pre id="console-log"></pre>
    </div>
  </div>
</body>
</html>
