Question:
Java Script vs Java programming which should I learn first?
?
2014-04-04 05:03:52 UTC
I recently learned how to code in HTML/CSS and wanted to know which way I should go.

My main question is can apps be made in Java Script or not? and can webpages handle Java programs inside of them?

I'm still new to things, so my questions might be stupid...

The thing is I want to try and make a simple paint application that runs in a browser window and have no idea where to start.
Four answers:
Chris
2014-04-04 05:39:26 UTC
You can still embed Java applets in websites, but you have to jump through a lot of hoops, and there'll still be a number of people who can't see it.



When it comes to Apps, Android ones are mostly written in Java. You can use JavaScript though if you put it inside a wrapper like PhoneGap.



As for a paint app running in a browser, you should definitely look into canvas drawing, i.e. JavaScript:

https://developer.mozilla.org/en-US/docs/HTML/Canvas
2014-04-05 15:35:10 UTC
If you already know HTML/CSS I would *definitely* go with Javascript, and that's coming from a person who can stand programming in javascript.



Java applets embedded on a html/css page will me much more complex than just writing javascript within the html, and it could easily be argued that javascript is a simpler more beginner friendly language than java as well, and like one guy said, javascript is on almost every modern webpage that exists.
Dave
2014-04-04 05:15:39 UTC
I pretty new to that scene myself but I would say learn java script first. Its used on almost every webpage that looks like its from this century. My buddy makes apps in flash if that helps at all.
2014-04-04 05:14:21 UTC
java script..!!!!


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...