Is a JS application a kind of website?
In most cases, yes.
Web applications can run under a variety of environments (TV, set-top boxes, mobile devices, watches, and so on), but since applications are based on web technologies, then, roughly, yes, a normal site in a different wrapper.
Another conversation is that sites work in very different ways, while applications are usually single-page.
Sometimes there is compilation from JS into a native application, and then the application is written in JS, but as a result, a slightly different set of technologies are used.Anonymous
Sometimes yes, sometimes no. Depending on the tools. Chromium can be launched there, whatever is needed to be drawn on it, and the application communicates with the phone via api. Or it may be that you write in js, but everything is translated into native code and native components.Anonymous
Expand a little. It's still a page inside a webview, it can have a bunch of local pages, or it can link to a site.Anonymous
As a first approximation:
The difference between "site" and "non-site" is the environment in which it runs.
The site is executed in the browser - so, according to security requirements, it has the right to use only the network API and only to the site from which it was taken (the site is a server, if there is only one site on this server; otherwise, the site should be treated as if it was a virtual one. server).
And an application in the general case can use many different APIs - both the local API (first of all, access to files), and the network API anywhere. Moreover, this does not depend on the language in which it is written (unless the language contains its own restrictions).Anonymous
To place the code, please use CodePen or similar tool. Thanks you!