<aside> ⚙️ The exercises we’ll go through will need Node.js installed. Download & install the latest Node.js available version.
</aside>
Usually, to run JavaScript, you would make a <script></script> tag in your index.html file. That’s how it works in browsers (the browser has a JavaScript engine for interpreting your code). In this workshop, we just want to run the code in the terminal, without using any browser. That’s where Node.js comes into play.
Node.js is a JavaScript runtime, meaning we can run JavaScript in the terminal via node command.
Run node -v in your terminal. If it outputs a version, you have it installed.