Active learning: Working through a JSON example. The showHeroes () function doesn't work

Еutorial section: Active learning: Working through a JSON example.

My code on codepen.

As you can see the second part of the code, specifically function showHeroes (obj) … does not work.
The console does not give any errors …
I have checked the code several times and cannot see the reason.

Thank you for any help.

Well … I found a mistake … As I expected it was a very stupid mistake. Sorry.

On the bright side, I now know that a little sleep really does help.