How can I do with JavaScript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I do with JavaScript

Hi. I want to know. How can I do with JavaScript. Because I want to learn only one language.

8th Feb 2018, 9:58 PM
Ilkin Ahmadov
Ilkin Ahmadov - avatar
4 Answers
+ 1
You can do a lot, I believe Chrome applets are written in js. But whatever you create will depend on a web browser to run normally. People like me block all scripts by default so that could be an issue. If you want to make a basic 2D game or app Java is probably best. It's far less obfuscated-looking code than the mess of web IMO. If you just wanna make a game with Unity then C#. If you're looking _long-term_ then I highly suggest C++ because you will only ever need this language. It's hard on beginners and you never stop learning but it's the closest to a one size fits all. It's de facto in game dev. There's no easy solution unless you want to use drag 'n drop dev tools -- but if they fit your needs then use them.
8th Feb 2018, 10:31 PM
non
+ 2
Do you mean is it possible?
8th Feb 2018, 10:12 PM
Jax
Jax - avatar
+ 2
JS is only really meant to be the brains behind web pages while HTML/CSS are the beauty. With basic JS you will need to run it in a web page or in a browser console, but NodeJS would allow you to make terminal-based applications and avoid HTML/CSS completely *or* use Electron and make nice, graphical desktop apps using HTML/CSS/JS. If you're looking to build graphical applications using Electron + NodeJS: No. You should also learn HTML/CSS for the best chance to accomplish this. If you just want terminal/command-line apps: Yes, JS + NodeJS can do this very well.
8th Feb 2018, 11:50 PM
Tom Shaver
Tom Shaver - avatar
+ 1
JavaScript is one of the easier languages to learn so you should be okay.
8th Feb 2018, 10:13 PM
Jax
Jax - avatar