MCPcopy Create free account
hub / github.com/codemistic/Web-Development / liveScreen

Function liveScreen

Calculator/Script/script.js:72–78  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

70}
71// Displays entered value on screen.
72function 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.
80function changeTheme() {
81 let darkMode = document.getElementById("dark-mode");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected