0% found this document useful (0 votes)
5 views2 pages

Question Bank For Web Programming IA2

The document is a question bank containing various questions related to JavaScript and React concepts. It covers topics such as loop structures, event handling, the window object, props vs state, and the Document Object Model (DOM). Each question prompts for explanations or examples to illustrate the concepts effectively.

Uploaded by

zadelikesaddie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Question Bank For Web Programming IA2

The document is a question bank containing various questions related to JavaScript and React concepts. It covers topics such as loop structures, event handling, the window object, props vs state, and the Document Object Model (DOM). Each question prompts for explanations or examples to illustrate the concepts effectively.

Uploaded by

zadelikesaddie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Question Bank

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?

You might also like