How do I create a JS file?

I do not understand how to create a JavaScript file.
I found a browser tutorial on the Inventor site, but I do not know where and how to create a JavaScript file.
please guide me.

you can use a text editor of your choice

1 Like

@amirkh You can do it with notepad.
And save it like -

1 Like

It is true.
How do I put it in the app?

Upload it from the Media pane.
You can access it through a WebViewer as stated in the link you've already posted in the topic.

Also, instead of using a plain JavaScript (JS) file, you could just use the <script>...</script> tag to declare it within an HTML file...