Is learning javascript a better choice? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Is learning javascript a better choice?

Is it true that you can cover everything up that php have to offer for web development if you learn the knowlege javascript? For a person who knows HTML and CSS and wants to be a good web developer, would it be a good choice to learn only javascript instead of covering other language like php?

26th Jun 2019, 8:21 PM
LR Fahad
LR Fahad - avatar
3 Answers
+ 4
As a web developer, you'll want to learn all of the above. PHP is a server-side language, whereas Javascript is a client-side language, so they go hand-in-hand with one another. However, you have various options for server-side languages, so you're not limited to learning PHP (or just PHP). NodeJS is a Javascript server-side language, so you can translate your Javascript knowledge over to it. PHP and NodeJS both have their rightful places in various circumstances that you may find yourself in, so there is no harm in learning both of them; you'll always have the tool you need for the given job at hand. If I had to pick between one or the other, I'm a fan of NodeJS and would recommend it for the long term. While you're at it, learn a database query language (NoSQL, SQL, etc...) so that you can utilize the frontend/backend languages to manage your databases also.
26th Jun 2019, 8:27 PM
AgentSmith
+ 12
It's not bad to know new stuff, specially for a web developer 🙂 and JavaScript is a very good language for adding new dimensions to the website... You should totally go for it 🙂🙂
28th Jun 2019, 5:25 PM
Humayra🇧🇩
Humayra🇧🇩 - avatar
+ 3
Best with future in mind
26th Jun 2019, 8:34 PM
Francis Woli
Francis Woli - avatar