Yeah, I think I was overthinking things by doing it this way, thinking that its sometimes done with large scale, complex web apps, but this is nothing of the sort. It’s just a simple weather app, so I’ve decided to ditch it and just show it all in one file, making it as easy to read as possible. Thanks for the help though everyone.
The working link to the app is below for anyone that’s interested in taking a look, any suggestions for improvements are welcome. The transition effect when I click other cities doesn’t seem to work in GitHub pages, but again, works fine on my local server. Don’t know whether that’s Jekyll reacting oddly with the app again or what.