I’m developing a website(just for fun) and have been using mostly js/jquery to build the website while communicating with the server with $.post for logging in, sending textareas that the user submitted, etc.
Is there any downfall to this? Should I be doing this another way?
as always “it depends” on what you’re doing…
If this site is just “for fun”, then no, no problem.
If you’re putting it on the internet, then you want to make sure your user actions (especially login and such) are done over SSL (which affects how you serve your JS files).
If you want any old user to use it (i.e. folks other than you and your immediate friends), then you need to provide a fallback method (traditional forms) so that if they’re on a device that doesn’t play w/ javascript nicely, they can still use the app.