Compare commits
2 Commits
main
...
ea61ec17d5
| Author | SHA1 | Date | |
|---|---|---|---|
| ea61ec17d5 | |||
| a4bbffe65b |
@@ -8,7 +8,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main class="app-shell">
|
<main class="app-shell">
|
||||||
<section class="calculator calculator-portrait" aria-label="HP48GX style RPN calculator">
|
<section class="calculator" aria-label="HP48GX style RPN calculator">
|
||||||
<div class="display-block">
|
<div class="display-block">
|
||||||
<div class="display-panel">
|
<div class="display-panel">
|
||||||
<div class="status-bar" id="statusLine" aria-live="polite"></div>
|
<div class="status-bar" id="statusLine" aria-live="polite"></div>
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ const calculatorEl = document.querySelector('.calculator');
|
|||||||
const statusLine = document.getElementById('statusLine');
|
const statusLine = document.getElementById('statusLine');
|
||||||
|
|
||||||
const keypadKeys = [
|
const keypadKeys = [
|
||||||
{ label: 'ENTER', action: 'enter', className: 'key-enter' },
|
{ label: '⏎', action: 'enter', className: 'key-enter' },
|
||||||
{ label: '⎋', action: 'escape', className: 'key-escape' },
|
{ label: '⎋', action: 'escape', className: 'key-escape' },
|
||||||
{ label: 'C', action: 'clear', className: 'key-danger' },
|
{ label: 'C', action: 'clear', className: 'key-danger' },
|
||||||
{ label: '⌫', action: 'backspace', className: 'key-danger' },
|
{ label: '⌫', action: 'backspace', className: 'key-danger' },
|
||||||
|
|||||||
Reference in New Issue
Block a user