Code Monkey home page Code Monkey logo

bottle's Introduction

Bottle - A place to keep your lightning

This is a simple interface for executing individual JavaScript functions. Each function is intended to be a simple, stand-alone, "lightning exercise" completed by a student while learning the basics of programming in JavaScript.

How do I use it?

  1. Install Node.js version 14 or greater

  2. Get the repo on your computer For example

    git clone [email protected]:askingalot/bottle.git
    git remote rm origin
    git remote add origin <your remote repo>
  3. Start the server

    cd bottle
    npm start
  4. Open the application in your web browser. http://localhost:3001

  5. Open the bottle directory in your editor of choice For example, using Visual Studio Code

    code .
  6. Add the appropriate code to the functions in the JavaScript modules found in the exercises directory.

  7. To test your work after you've changed a function:

    1. Refresh the browser
    2. Select the module name from the module dropdown
    3. Select the function name
    4. Fill in any needed arguments
    5. Click the Execute button.
    6. Confirm the result in the result panel. If there is a test associated with the function bottle will execute it and indicate whether your function passed or failed the test.

Once you've completed the existing exercises feel free to add your own. Any module you add in the exercises directory will appear in the Available Modules dropdown after you refresh the browser.

bottle's People

Contributors

askingalot avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

bottle's Issues

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.