+ 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

17th Mar 2019, 1:32 AM
Omar Khalil Bakhsh
Omar Khalil Bakhsh - avatar
2 Respuestas
+ 4
one error is that the event listener is supposed to be addEventListener(), not addEventaListener().
17th Mar 2019, 4:28 AM
Adler Vuong
Adler Vuong - avatar
+ 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.
17th Mar 2019, 4:30 AM
Adler Vuong
Adler Vuong - avatar