Article Web Application

Find Sum Of Two numbers Using Javascript


<!doctype html>




function add ()


var a, b, c

a= number/ document.get element by id (” first”) • vlaues);

b= number/ document.get element by id (” second”)• value;

c = a + b;

document.get element by id (” answer”)• value= c;





Enter the first number :< input id= ” first”>

Enter the first number: < input id = ” second”>

<Button on click = ” add () “> Add </ button>

< input id = ” answer”>






    Bishu Kumar

    I am Bishu kumar and i like travelling and sports.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Back To Top