Can you put the code here because I’m confuzzled
Replace the button
element with the following code.
<button type="button"
onclick="document.getElementById('demo').textContent = Number(document.getElementById(1).value) + Number(document.getElementById(2).value)">Run</button>
1 Like
(post deleted by author)
2 Likes