- 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

9th Jun 2021, 12:17 PM
Malick Diagne
Malick Diagne - avatar
1 Answer
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.
10th Jun 2021, 3:54 AM
George Ryan
George Ryan - avatar