Custom code using external script issue

Hi Jeff,
I would like to make a pricing calculator. I followed instructions and have included this script in the body of the pricing page:
<script src="https://cdn.jsdelivr.net/gh/Lirvana/30542710d0373f1143588d466dd82829/raw/3e38ccb506c0d4315a29d3066cee716fbe0eabcf/rangeslider.js"></script>

But it doesn’t work: https://preview.webflow.com/preview/passteam?utm_medium=preview_link&utm_source=designer&utm_content=passteam&preview=434e62dae9b8920f13041287b7956931&pageId=62eb85951c2917b718ddf3fd&workflow=preview

And the raw link actually: https://gist.githubusercontent.com/Lirvana/30542710d0373f1143588d466dd82829/raw/a8588cc8816ec404511b60b5d9be3e43316c997f/rangeslider.js

Could you take a look at this please?
Massive thank you :heart:

It would be helpful if you could share a published URL to the page, so inspection in a browser is possible.

Oh, yeah, sure. There’s the link new-pricing

Since the script is not loading that would be an issue.

Ok, thanks!
I asked my developer friend to look at this script and he did this: GitHub - ardobro/embed-code-demo (index.html).
He said it should work properly. But I don’t know how to put it into webflow correctly.

I’d appreciate it if you could tell me how to do it right :pray:

This is pretty easy to fix. You have to use a valid URL for an external resource. All is good if you can open it when you visit the link in your browser. If not, you have an issue with your path or restrictions on the file. There is documentation on JsDelivr about serving up GitHub resources so I suggest consulting it.

Thank you!! I’ll try it