Q. What is the correct syntax to handle a click event in JSX?

JSX में क्लिक इवेंट को संभालने के लिए सही सिंटैक्स क्या है?

A
< button onclick={handleClick} >Click< /button >
B
< button onClick={handleClick}>Click< /button >
C
< button OnClick={handleClick} >Click< /button >
D
< button onclick="handleClick()" >Click< /button >

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment