I rethink about role of Babel and webpack. Initial state of my code is here.First, don't use webpack or Babel. It means edit index.html as below. <html> ... <body> <script src="../src/js/app.js"></script> </body> </html> ``` When previewed it in the browser(Chrome), get the following…