In the browser, you can use JavaScript to interact with web pages. You can change text, respond to clicks, and fetch data from servers. But browser JavaScript can't access your computer's file system directly.
In Node.js, you can read and write files, connect to databases, and run web servers. But Node.js has no access to browser features like the DOM. You'll start with browser JavaScript since results are visual and immediate.