While creating a component in Reactjs with input fields error occurs Error: Parse Error: Line 47: Expected corresponding JSX closing tag for input at http://localhost/
Error: Parse Error: Line 47: Expected corresponding JSX closing tag for input at http://localhost/
You need to close the input element with /> at the end. In React, we have to close every element. Your code should be:
/>