Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let firstNumber = document.getElementById("firstNumber")
- let secondNumber = document.getElementById("secondNumber")
- let result = document.getElementById("result")
- function funkcija() {
- let A = parseInt(firstNumber.value)
- let B = parseInt(secondNumber.value)
- result.innerHTML = A + B
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement