Question: You have written the following code but nothing is rendering. How do you fix this problem?

  1. Add a render function.
  2. Change the curly braces to parentheses or add a return statement before the `h1` tag.
  3. Move the `h1` to another component.
  4. Surround the `h1` in a `div`.

Answer: The correct answer of the above question is Option B:Change the curly braces to parentheses or add a return statement before the `h1` tag.