+ 3
Is there any importance of JavaScript if you already know PHP. In web development??
6 Respostas
+ 2
Hey buddy!, I just wanna tell that PHP handles whatever query a webpage sends to the server so that we get to do an action on our webpage according to the response by the server for that query.
Whereas, by JS you can maintain the events, style the events as well as execute few things on the user end instead of quarrying the server. But as the user end doesn't have all the resources available so we still need to query the server side, therefore, for an interactive wesite you need to learn both JS as well as PHP.
Once you learn other high level languages you can replace PHP for them, for a faster execution.
Wish it was helpful.
+ 16
PHP is a server-side scripting language while JavaScript is a client-side scripting language. In fact, the most dynamic website is created when we use functions of both these languages together. ... PHP also supports major protocols like IMAP, POP3 and LDAP...So js is essential
+ 4
JS is mostly used for the front end.
+ 4
Yh JavaScript is a client side programming language that help manipulate the Dom (documents object model) whilst pho is strictly server side it for sending request to the server and getting response
+ 1
👑Kunyu👑 Okay thanks
+ 1
AJAY SINGH RANA it was a lot helpful