Git Product home page Git Product logo

js101's Introduction

JavaScript 101 - Programming Exercises

Programming exercises for a beginning JavaScript programmer.

These exercises focus on basic syntax and core library functions for:

  • Functions
  • Numbers
  • true, false, null, undefined
  • Strings
  • Arrays
  • Objects

Install

Make sure that Node.js and npm are installed. Then, from this directory type:

npm install

This will install a folder named node_modules/ into this folder.

Directions

You will be writing functions in the JavaScript files found in the exercises/ folder.

Write your functions and then run:

npm test

The goal is to get the test suite to pass all conditions. Good luck!

Continuously Run Test Suite

You may want to run the test suite anytime a file in exercises/ changes:

npm run watch

This command will continuously run the test suite and stop on the first failing test.

License

ISC License

js101's People

Contributors

aurmer avatar dependabot[bot] avatar oakmac avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

js101's Issues

delicious --> isDelicious

There is a mismatch between the Object exercises and the test suite. Boolean values should all use isDelicious as an identifier.

cc @aurmer

1006-math.js

divide function says "product" instead of "divide"

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.