0
Since JavaScript and PHP have almost the same syntax,can I design website by using Html,Css and PHP instead of and without Java?
Java and PHP syntax comparison
4 ответов
+ 6
Java is not the same as Javascript.
+ 5
PHP only works on the back-end. JS works on the front end and Node.js works on the back-end.
+ 4
//Yes you can design website without JavaScript but there will many things your website missing
+ 3
Yes you can but as Sudarshan Rai 👑 pointed out there will be things you may want to consider such as Javascript is for client side where as PHP is meant to be more backend server side...
here is an article you may want to read in your ponder:
http://www.differencebetween.net/technology/difference-between-javascript-and-php/