07: Prompting Input

This exercise will teach you about both the npm tool and how to require modules. Before you can type the code in you will need to run some commands to get a module called readline-sync installed. You don't have to use this module but it really helps when asking someone simple questions.

To install readline-sync you run the following command:

$ npm install readline-sync

This may take a while, and when it's done you will see that this module is installed. Then you can test it by running node:

80% Discount for Alpha 1

Register today for the early access release and get an 80% discount on the final release price. You'll get true lessons in true modules right now, and early access to content as it's released.


Still Not Sure? Check out more curriculum!