Git Product home page Git Product logo

jsr_shopping_list_functions's Introduction

^^ click link to view tests (fail)

Shopping List implementation with functions and prewritten tests.

Assignment

You are to implement a Shopping List in javascript. In particular, your implementation will retain the ability to:

  • create a list item
  • add said list item to list
  • remove an item from list
  • compute sum of prices

How to Implement

For each function that must be implemented, there is a corresponding test that should pass upon successful implementation of function. Once all the tests are passing, this assignment is complete.

NOTE: the tests are relatively "dumb" so edge cases aside from the obvious ones are not accounted for. As an additional challenge, consider writing tests for all the edge cases and implementing the function to pass these assertions.

How to get started

  1. FORK (top right button underneath the profile dropdown) this repo.
  2. Download (or clone) this repo to your local environment.
  3. Implement your functions and assert tests pass.
  4. Make a PR against this base project to "submit". (Consider this resource for further information)

jsr_shopping_list_functions's People

Contributors

mottaquikarim 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.