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 trialfrederik christensen
5,740 PointsShould i start with JavaScript or PHP?
Hello. I have made a website but it would be so much better with some backend over it. Should i start with JavaScript or PHP. and also why is it the JavaScript course is focused on video games. I want to use JavaScript for web development
1 Answer
Steven Parker
231,269 PointsJavaScript can be used on the back-end, but it is primarily used for front-end development. PHP is definitely for the server (back-end).
And I believe only the introductory JavaScript course uses a game project as a fun example. The other courses that I have taken (a bit more than half of what's available) all have a strong focus on web development.