We can use JavaScript to change the appearance of a web page after it has been loaded and can’t do that with a server-side scripting language and you can’t do that with a static HTML document. You could make your webpage dynamic and responsive with the help of JavaScript.