HI, Amit.
JavaScript is used to change html/css behaviour e.g if you want to add a timer, carousal or you want your html/css page to behave in a certain way when a certain event is invoked.. Java is inherently used to run back end applications. Please not that JavaScript can also be used for back-end case and point node js.
Question and answer is powered by AnsPress.io