How to Reach JavaScript Class from HTML File?

For example, there is a shopping-page where everything works fine until adding a search function. In the example the JavaScript file is built with classes such as: Products{getProducts}, UI{displayProducts}, Storage{saveProducts} DOMContentLoaded The correct order is get the products (from a JSON-file), store the products in local-storage and get them from the local-storage when they are […]