+ 1
Whte is rounge with my js code ?đ€
This code for calculate you're age using youre birthday . https://code.sololearn.com/WWU0AHQ1bnat/?ref=app
2 Answers
+ 4
one error is that the event listener is supposed to be addEventListener(), not addEventaListener().
+ 4
also, you forgot the ending } in the window.onload. It should be at the bottom of the script. Fixing that solves the syntax error problem.