Question Bank For Web Programming IA2
Question Bank For Web Programming IA2
1. How does a for..of loop work, and how does it compare to other loop structures?
2. Describe how to access a fms control variables
3. Describe buttons with the help of an example
4. Describe the differences between the HTML events and react event. Provide an
example
5. How do you create and use variables in JavaScript?
6. Explain the concept of react forms with event handlers and explain with the help of an
example
7. What is the window object in JavaScript, and what are some of its common methods?
8. Describe how props and state differ in their roles and usage within a React component.
Suppt your analysis through an example
9. What is the difference between parseInt() and parseFloat() in JavaScript?
10. Explain Document Object Model (DOM), and how does JavaScript interact with it?
11. How do comparison and logical operators work in JavaScript?
12. How does JavaScript perform constraint validation for form controls?
13. Explain functions in Javascript with the help of an example
14. Explain the concept of the alert(), confirm(), and prompt() methods work in JavaScript
to have a dialog with the user
15. Explain the while loop in Javascript to design a counter module
16. Explain hooks to implement three phases of react components. Incorporate the
necessary syntax
17. How do you position images using CSS?