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 trial

JavaScript JavaScript Basics (Retired) Working With Numbers Using Math Methods

programming language for a beginner

I have a basic knowledge of HTML and CSS and I have finished Guil Hernandez's CSS Layout Basics. But I don't have any coding experience which language is best for me. Is python good for me or Javascript? If Javascript is better then why? and What can I do with javascript except creating websites? Can I use Javascript and it's framework to make apps?

1 Answer

Steven Parker
Steven Parker
231,271 Points

The advantage of JavaScript is that is works with HTML and CSS to finish off the "big 3" skills needed for front-end web development. And because of that, it happens to be the most-used programming language in the world. It's also beginning to be used for other things like server-side apps.

But when you say "make apps" are you talking about web apps? If you mean mobile apps you might prefer to learn Swift (for iOS) or Java (for Android).

Thnx Steven Parker for your help. I think I will choose Javascript. But is it good if I choose Javascript as my first programming language? And what is the difference between website and web apps?

Steven Parker
Steven Parker
231,271 Points

If you had no other goals but learning how to program, I might recommend Python for a first language, but with some HTML and CSS experience already I think you'll find learning JavaScript more rewarding.

I think of "website" as a generic collection of data and services available from a server on the internet. And "web apps" would be programs that run on such a server, generally with a component that also runs in a user's web browser. For example, "expedia.com" is a website, and it runs a "web app" which allows a person to book travel reservations.