(value)
| 70 | } |
| 71 | // Displays entered value on screen. |
| 72 | function liveScreen(value) { |
| 73 | let res = document.getElementById("result"); |
| 74 | if (!res.value) { |
| 75 | res.value = ""; |
| 76 | } |
| 77 | res.value += value; |
| 78 | } |
| 79 | // Swaps the stylesheet in order to achieve dark mode. |
| 80 | function changeTheme() { |
| 81 | let darkMode = document.getElementById("dark-mode"); |
nothing calls this directly
no outgoing calls
no test coverage detected