anonymousfpp / dom_manupulation_using_api Goto Github PK
View Code? Open in Web Editor NEWIn this code, I create 2 input element which that 2 input and print the SUM using API, i pass these input element as a form of query parament in this api and get the sum using promise chaining and convert it into value and change the input using innerHTML.