title: KeyboardEvent event.key and event.code are different
body: <p>Why are <code>event.key and</code> <code>event.code</code> sometimes different?</p>
  
  <p>It appears when I change the layout from <code>QWERTY</code> to <code>QWERTZ</code> even if I use a <code>QWERTZ</code> keyboard...</p>
  
  <p><a href="https://i.stack.imgur.com/E2jjG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E2jjG.png" alt="enter image description here"></a></p>