+ 3
Why error if we click on upload button
3 RĂ©ponses
+ 5
It is missing semi colons and you have declared a variable at line 7 but didn't use it
+ 2
Probably fileReader is not supported in Sololearn. Try to run your code somewhere else.
Edited: actually it should be FileReader, but it seems that file loading is not supported here on Sololearn - it is not possible to select a file. I tried your code with Windows 10 and Chrome and it was working fine after fileReader -> FileReader change.