Direction: Choose the correct option
Q1.
What does the following JSX code compile to?
<h1>Hello World</h1>Direction: Choose the correct option
Q2.
Which attribute should you use instead of 'class' in JSX?
Direction: Choose the correct option
Q3.
How do you embed a JavaScript expression in JSX?
Direction: Choose the correct option
Q4.
Which of the following is a valid way to apply inline styles in JSX?
Direction: Choose the correct option
Q5.
What happens if you return multiple JSX elements without a parent wrapper?
