Giter Site home page Giter Site logo

challenge's Introduction

Git Challenge

Requisitions

Please have installed Nodejs https://nodejs.org/es/download/

Getting started

Note: Do not forget to clone the repo first. Execute these commands to run the tests.

First intall the dependencies

npm i

Then execute the tests locally with

npm test

Challenge Statement

Before to start your implementation create a branch (checking out from the feature/power branch).

First of all, try to run the tests (check the getting started section for more info).

Screen Shot 2022-03-17 at 18 11 16

Once you run them, you will see that the power test is failling, damn it! So here comes your task:

Implement the function to power numbers. For example: 5 ^ 2 = 25. Where 5 and 2 are the inputs for the function and should return the power of the operation 25.

Check the src/math.js file, as you can see there is only one function named sum, you will have to implement the power function. If everything is working you will now see that all tests are succeding.

Finally, create a pull request from your branch to main and send the URL to the learning slack channel. Do not hesitate to ask questions related to the exercise but not over the solution.

Have Fun.

Heimat.

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.