You are still not, I think, really getting the point of web pages. HTML is a markup language-- it is meant to send you data and tell your browser in simple terms how to arrange that data on the screen. What's missing? Heavy processing. That, to be blunt, is the server's job.
Making the client do the heavy lifting is bad manners. I will use up CPU bandwidth, and will drain a phone user's battery faster. If you really want to do this, then you should use an environment like Xamarin that will let you write cross-platform apps.
The other thing is that the client can SEE what you've done in java script by right-clicking and inspecting your page. So if you've made anything of any value, you can pretty much kiss your exclusive rights to it goodbye. Doing that on this here website, for example, might teach you a lot about how the site works. Server side code, on the other hand, is 100% hidden: nobody knows, or CAN know, anything about how your site arrives at code.
Making the client do the heavy lifting is bad manners. I will use up CPU bandwidth, and will drain a phone user's battery faster. If you really want to do this, then you should use an environment like Xamarin that will let you write cross-platform apps.
The other thing is that the client can SEE what you've done in java script by right-clicking and inspecting your page. So if you've made anything of any value, you can pretty much kiss your exclusive rights to it goodbye. Doing that on this here website, for example, might teach you a lot about how the site works. Server side code, on the other hand, is 100% hidden: nobody knows, or CAN know, anything about how your site arrives at code.