Wanderlust: Export/Import Module

I am working on the Wanderlust project. I noticed that no export or import function is needed to call createVenueHTML() in main.js from helpers.js. I thought this was necessary even after the script tags are added to the html file for both js files. Apparently I am missing something but I went back into the modules lesson and could not find an answer. Any help is appreciated. I have everything working fine but I would like to figure out why those export/import functions are not needed.

+1 to this question.

I was trying to figure this out too. I can’t find any answers online :roll_eyes:

I created a carbon copy of the project on my computer and it still works without adding the export/import statement. Looks like by referencing all your JS scripts in a single HTML file you allow them to see each other’s content.