Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDavid Odum
1,860 PointsVideo calls Java a back-end language, but quiz calls Javascript a front-end language?
Are Java and Javascript different? If not, what gives?
3 Answers
Luke Pettway
16,593 PointsJavaScript and Java are two entirely different languages. The creators of JS wanted to piggy back off of Java's popularity at the time. Javascript can actually be both front-end and back-end now (think NodeJS).
Joe Thompson
2,343 PointsJust to clarify Luke's answer, he's right they are completely different. JavaScript is thought of as a front-end language (in the quiz and elsewhere) in that it provides interactivity to web sites, and can add some graphical elements. Java does more "back-end" stuff like the math of a pizza order. For example in Android studio you will use xml to do the front end (the graphics of your app) and Java to do the back end (taking input and producing output). Hope that helps!
Zacharie Ocon
684 PointsThank you for the clarification Luke and Joe. It definitely helped me!