- 3
I want to do thé sum two number inside the script then affect it paragraph. Thanks you.
Affect sum in tag script. https://code.sololearn.com/WJF72M85VgT5/?ref=app
1 Antwort
0
First create the paragraph element, ensure the Dom is loaded, then get the paragraph object. Change the value of the text according to the return value of num+num, this is my explanation without giving you the code.