Posts by BKiller • 1 point
1 post
-
0
votes1
answer73
viewsQ: Get element by id add two paragraphs
I want to add the two paragraphs with Javascript (tag or class), but the result is always NaN. function calcular() { const num1 = document.getElementsByClassName("n1").value; const num2 =…
javascriptasked BKiller 1