79204925

Date: 2024-11-19 20:18:10
Score: 0.5
Natty:
Report link

Your js only needs to be:

function add(num) {console.log(num)}

Waiting for dom load doesn't seem relevant as the function is only called after the buttons have become visible to the user.

I have tested it & it runs very nicely.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user11248879