Client-Side and Server-side scripting can both get the job done. If you want to be hands-on with creating our webpage, you should definitely look into client-side scripting. Client side scripting is important for creating a dynamic HTML webpage. This means, if you want the content of the page to change based on the user, the geographical location of the computer, etc. In client-side scripting, it is possible to use either embedded or external scripting, depending on which you find easier to control. Embedded scripting would have the style of your page all written into the one document. If you choose external scripting, you will create the basic page in one document, and style the page in a separate document. After you create your document, the content then resides on a server and can be sent to the user’s computer to be altered. Once the user creates the document, the web browser executes the script code to show the page. It is also possible for anyone viewing the web page to view the source code.
On the other hand, server-side scripting has a few great perks. In server-side scripting, code is executed by the web server app, on the server machine. Because of this, the code is more secure and there is greater programmability. Also, if a client makes a change request for the webpage, it is taken care of by a script running server-side. Server-side scripting can be written many different ways, and is sometimes very difficult to understand. It uses embedded scripts into an HTML code instead of external scripts. On the down side, server-side scripting limits client access to the database. It also restricts clients from seeing the source code.