Skip to Content
This is the Beta version of our new Learning Paths approach. Please email feedback.

JavaScript

You have already seen how to use JavaScript in web pages, here we will see how to write server-side or standalone programs with JavaScript and Node.js.

We will write a program for the same Rock-Paper-Scissors game we wrote earlier with HTML, CSS, and JavaScript. The difference will be that this will be a console application with a basic text user interface, not a web application.

The program will be written in parts illustrating the key components, ending with the complete program.