Skip to content

gdibble/caa-nodeTraining

Repository files navigation

caa-nodeTraining

Communities In Schools JavaScript and Node.js Training

Herein you'll find:

node-drawing-game

  1. Double-click or drag index.html into your browser.
    Notice you can draw.
    Uncomment the input box in this file to add color selection.

  2. Install Node.js on your computer.

  3. Go to your console and go into the repo directory.
    Type npm install to get dependencies.
    Type node app to run the Node.js server.

  4. Go back to your browser and open a new tab to http://localhost:3000.
    Click the link in the middle of the page.
    Copy the URI address.
    Now open another web browser and paste the URI, or have a friend go to the URI (on the same network).
    You're now sending events from one browser to the server and the other browser is listening and responding.
    Can you figure out how to send color to the other browser?

--

Made with ♥ by CAA

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published