Weather App Module Pattern?

Weather App Module Pattern?
0

#1

Just wondering if it’s possible to write this code using the module pattern using no global variables. I’m trying and failing bahah


#2

make iife to not polute global namespace
Then return object with his features ( functions ) - ur widget needs
And there u go…