Untitled
Guest 290 29th Apr, 2024
<!DOCTYPE html>
<html>
<body>
<input type="number" id="liczba1"><br>
<input type="number" id="liczba2"><br>
<button onclick="dodaj()">Dodaj</button>
<script>
function dodaj(){
var liczba=document.getElementById("liczba1").value;
var liczba2=document.getElementById("liczba2").value;
alert(liczba+liczba2);
}
</script>
</body>
</html>
To share this paste please copy this url and send to your friends
RAW Paste Data