score:1

Accepted answer

You misplaced the script tags. Those can't be outside the <html> element.

Move these 3 script tags in the <head> tag. Those a the HighChart script files.

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>

Then place this one at the end of the page, just above </body>. That is the script to instantiate HighCharts. It has to be executed when the #container element exist in DOM...

<script type="text/javascript" src="scripts/chart.js"></script>

Related Query

More Query from same tag