Between JavaScript and PHP, which one is more useful? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Between JavaScript and PHP, which one is more useful?

Both JavaScript and PHP are scripting languages. I wish to focus on only one of them for now, so I wish to know which one is more useful for an average programming beginner.

14th Oct 2018, 3:20 PM
Ahi Yantra
Ahi Yantra - avatar
3 Answers
+ 2
I say Javascript, as all you need is a web browser & a decent text editor. Instant gratification is also high factor with it. You can do canvas, svg, and lots of interactive stuff. Add html, css and you got frontend covered neatly. It can also be used in backend(with nodejs) which can make it less effort to get started there.
14th Oct 2018, 4:38 PM
Lord Krishna
Lord Krishna - avatar
+ 2
JS, It brings more Feature into website than PHP because JS can interact with the HTML easyer
15th Oct 2018, 1:55 PM
Potato Hacker
Potato Hacker - avatar
+ 2
Though PHP has good stuff in the serverside...
18th Oct 2018, 1:49 AM
Potato Hacker
Potato Hacker - avatar