IP I – Individual Assignment Answers
1. Difference Between Client-Side and Server-Side Scripting
Client-side scripting runs on the user’s browser using HTML, CSS, and JavaScript. It is used for
designing interfaces, validating forms, animations, and interactive pages. It is fast but less secure.
Server-side scripting runs on the server using PHP, Python, [Link], Java, etc. It is used for databases,
authentication, and generating dynamic content. It is secure but slower.
2. Difference Between Static and Dynamic Websites
Static websites show fixed content and use HTML and CSS only. They do not use a database.
Dynamic websites change content automatically using server-side languages and a database.
3. What is DOM (Document Object Model)?
DOM is a tree-like structure that represents an HTML document as objects. It allows JavaScript to
modify, add, or remove elements dynamically.
4. Can you develop a simple UI through DOM using only HTML and CSS?
No. HTML and CSS can create layout and design, but they cannot manipulate the DOM. JavaScript is
required for DOM interaction.
5. Justification
DOM manipulation requires JavaScript because HTML and CSS cannot update or change elements
dynamically. They can only build static interfaces.