Web Tech Questions:
1. Write a JavaScript code to toggle between "Light Mode" and "Dark Mode" on a
webpage when a button is clicked. Change both background and text color
accordingly.
2. Create a section that updates the greeting text ("Good Morning", "Good
Afternoon", "Good Evening") and background color dynamically based on the
user's system time using JavaScript.
3. Create a button that, when clicked, changes the font-size and color of a
specific paragraph using JavaScript.
4. Explain the structure of the DOM Tree with a diagram. Show how tags like
<div>, <p>, and <ul> are represented as nodes in the tree.