I have been trying to create my first React app and when I tried to run it I got these errors for respective code.
1) 1st image is code of index.js file which is giving error-
And error it is giving is 2nd image-
I added "type" : module which solved error but i got different error which is 3rd image-
2)4th image is code of App.js file which is giving error-
And error it is giving is 5th image-
I was expecting the output as a webpage showing Hello World! but instead of which web browser is displaying a blank page.