Streaming live at 10am (PST)

Hosting Javascript file Externally

Hello, I am creating a custom calculator for my website and the code is getting too long to fit within the limit. I tried hosting the entire file externally but it would not work properly. I have very limited knowledge of js so I’m not sure if I am hosting the file properly. Can anyone help me host the code properly?

Pages: calculator and calculator copy

I haven’t tried it myself, but I have seen mention on this forum that you can host it within Webflow itself as an asset and use the asset’s URL.

Here’s the full “how to” kindly provided by @webdev - Character Limit

Have you tried minifying the code? That might make it small enough.

Otherwise you can host for free with Github, Netlify, Firebase, GCP Storage and probably lots of others I can’t think of. Then use a https script include to load it.