How to reference a local file in html src

If I add a resource to my public code files, how can I reference them in an html object?

For instance, in this example:

They are referencing the Chart.js file from a cloudflare domain.

<script src="https://cdnjs.cloudflare .com/ajax/libs/Chart.js/2.4.0/Chart.bundle.min.js"></script>

I want to change it to something such as:

<script src="../public/Chart.js"></script>

This format doesn’t work; can’t figure out how to format it.

Site files are not available externally (ie. via URL). You might consider using an external repository for your purpose.