Excersie 8 from chatper 8

So I’m having trouble with this exercise, the first part was easy but the second part; I understand what to do but here is the issue, when i go to file explorer to find .babelrc folder it doesn’t exist. here is a link to the exercise I’m working on.

https://www.codecademy.com/courses/introduction-to-javascript/lessons/browser-compatibility-and-transpilation/exercises/babelrc
I dont understand if the page is messed up or what, but I can’t move past this lesson without completing the exercise.

Hi so you should just make sure that you are in the root directory then use touch to create the .babelrc.
Then open it, copy and paste this code :

{
  "presets": ["env"]
}

in the .babelrc file, then just hit run and you should be good to go.

1 Like