startit/morse/view.js
2024-10-24 11:27:53 +02:00

7 lines
193 B
JavaScript

function updateView(){
app.innerHTML = /*html*/ `
<input type="text" onchange="lettersFromInput=this.value"><button onclick="translator(lettersFromInput)">Button</button>
`;
}