Why my weather app not working on codepen?

Why my weather app not working on codepen?
0.0 0

#1

Weather app not working on codepen but fine in brackets. What is an issue?

Here is a link: http://codepen.io/Vladimirpak/pen/PpZpxo

Thanks


#2

What do you expect this to do:

<script src="init.js"></script>
<script src="weather-data.js"></script>
<script src="app.js"></script>

And this:

searchButton.addEventListener('click', searchWeather);
```
`searchButton` is not defined.