GithubHelp home page GithubHelp logo

promises's Introduction

Promises

Index


How to Study

All of the exercises & examples in this repository are plain JS files that will run anywhere ES6 JavaScript will run. The simplest way to study the code in this repository is to run the files in node, using the terminal and debugger built into VSC. Or ...

index.html

There is an index.html at the top level of this repository. To step through the code in your browser's debugger or JS Tutor, index.html with liveServer. The live page will have a button for each javascript file in this repository. There will be 3 buttons per file:

  1. The first button will simply run your code in the browser, logging any results to the console.
  2. The second button will inject a debugger statement so you can step through your code in your browser's debugger
  3. The third button opens your code in JS Tutor

server.js

It's also possible to open index.html in the browser by running the node server in this directory:

  • $ node server.js

Once you see Server running at http://localhost:3000/ logged to your console, you can open https://localhost:3000 in your browser to study your exercises. This server will also keep a log of every exercise you study in the browser and how you studied it in ./server-logs.

npm run start

Running the server with $ npm run start is almost the same as running $ node server.js. Can you figure out the difference?

Happy studying!

TOP


What to Study

This repository contains 2 folders of examples, and 1 folder of exercises. You can check them out right here.

TOP

promises's People

Contributors

colevanderswands avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.