I need some help with making a cauculator

Can you put the code here because I’m confuzzled :face_with_spiral_eyes:

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