Giter Club home page Giter Club logo

module-tests's Introduction

JavaScript Module 1 Exercises

These exercises will allow us - and also yourself - to evaluate your current knowledge about JavaScript programming.

Your code will be reviewed and you will receive a feedback from a mentor about what you've done well and where you can improve.

Please do complete the questions on your own and do not slack/chat with your colleagues.

You may not use Google or StackOverFlow to find solutions and always try to do it yourself first We suggest you to only use the Javascript documentation from MDN.

Instructions

  1. Please UNCOMMENT each function, and its associated name in the module.exports object at the bottom of the file, as you reach them.
  2. Also, change the module1.test.js file from...
  xit("Q? - Description", function() { ...

to

  it("Q? - Description", function() { ...
  1. Make sure you use git to push your code to GitHub when you have successfully tested your solution to each question.
  2. When you have completed the questions, make a pull request back to the CYF repository.

Goals

  • Read carefully all the code, all comments as well as the unit tests to understand what the code is supposed to do
  • Fill in the parts marked with TODO

Bonus: if you're done before the end of the allotted time, you can try to modify your code to use the ES6 syntax.

Install

Fork and clone this repository to your computer and install the packages with npm or yarn:

git clone https://github.com/codeyourfuture/module-tests.git

cd module-tests

npm install

Run the unit tests

You can run the following command to run the unit tests:

npm test

To run and watch:

npm test -- --watch

Submit your solution

Don't forget to commit your code often. Once it's ready, create a pull request with your solution.

Commits done after the time is up won't be considered.

module-tests's People

Contributors

christopherallanperry avatar onneile99 avatar alanionita avatar mahsa2017 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.