Hi, I just finisehd the example „Active learning: Working through a JSON example“ .
When I open the console I get the following error-message:
“heroes.html:54 Uncaught TypeError: Cannot read property ‘length’ of undefined
at showHeroes (heroes.html:54)
at XMLHttpRequest.request.onload (heroes.html:38)”
I already started to replace the mentioned lines with the code form the “heroes-finished.html” . I even tried to replace the whole function, but it is still not working.
What else would you recommend to find the bug ?
Thanks for help,