Import JS file for specfice html page

Hello, Is there a way to import a .js file for a specific html page. It appears that when importing .js file it is used in all html pages created. Thanks...

Nope, all JS and CSS files are referenced on all pages.

You could always place the .js in a custom code block using the <script> </script> tag on just the page you want it.

Yes, you can do that.

Right click on the .js file in the design panel select “Visibility” and from the dropdown “Show only on these pages” and select the pages on which it needs to appear.

This works on versions starting from 5.1.

Hope that helps.