GithubHelp home page GithubHelp logo

functions-practice-unsolved's Introduction

GETTING STARTED

  • Clone this repository.
  • Create a new repository in your Github account. Set it to be a public repo. Copy the new repo SSH path.
  • Open the cloned repo project in your favorite IDE. Start a terminal session.
  • Update/change the remote origin path with to the new SSH path OR add a new path (f.i "solved" or "destination"). Github's git remote actions docs.
  • Push the main/master branch to the new repository.
  • Run npm i to install dependencies and packages.
  • Start solving the exercises, following the "HOW IT WORKS" section.

BEFORE YOU START

Every exercise in this assignment has a reference to a .MD file in the /exercise-info/ folder. Make sure to read the info file before you start solving the exercise tasks.

HOW IT WORKS

  • The repo has the "exercises" folder with 4 exercise files (e1.js, e2.js, ... etc). Each file includes the task/tasks description, and a placeholder for your code.
  • Descriptions for every next exercise is located in /exercise-info/ folder
  • Open e1.js file and start writing function code in the "Your code goes here..." placeholder to achieve the goals described.
  • !!! We don't have any restricted methods for this assignment, unless any restriction is set for the function individually in the task description. Please, pay attention to every exercise task description.
  • Once you are done, run the test command npm run test-1 in the command line, where "1" is the current exercise number. This will start the test environment and show the passed and failed tests for the current code you have written.
  • If the test results have all tests passed (no red comments), consider it to be finished successfully, then switch to the next exercise file.
  • If any of the tests fails, refactor the code and run the test command after you've fixed the function.
  • Please, don't switch to the next exercise file until the current one is finished successfully.
  • Please, don't switch to the next part file until the current part ALL exercises are solved successfully.
  • The goal is to write proper code for every exercise file and pass ALL tests successfully.
  • Once you have finished ALL files you can run ALL tests to test yourself with npm run test-all

CAUTION

Please, do NOT change or update:

  • Functions' arguments or their names.
  • Lines of code that are asked NOT to change or delete.
  • Files in the "data" folder.
  • Files in the "test" folder.

You can only write your code in the "Your code goes here..." placeholder in each exercise file.

Changing the files listed above may cause tests failure. You can add/commit any repo changes any time you want, but if you haven't added, committed any changes you can always restore those file's initial state with git restore <fileName> command.

HOW TO SUBMIT

  • Make sure all the tests pass with npm run test-all.
  • If not, refactor your code to have all tests passed. You can run npm run test-all again, once you think you have fixed it to see the results.
  • Commit and push the changes to your repository (the one you have created on step 2 of GETTING STARTED).
  • Submit the txt file with a repo link on the exercise page in devslopes course.

functions-practice-unsolved's People

Contributors

andreycodez avatar caleb-thomp 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.