Skip to content
This repository was archived by the owner on May 29, 2023. It is now read-only.

rawnly/js-challenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Challenges

Some javascript challenges from beginner to advanced.

What?

A collection of Javascript coding challenges, from beginner to advanced. All challenges are taken from the generous web or created by the contributors.

So, Why?

I'm creating this repo because I want to bring as many as possible code challenges (for free obviously) in a file or more. I know that there are so many websites like codewars or coderbyte but this is different. So many websites are not for free, you need to pay a subscription and I think this is right ok, but if we can why don't do that for free?

Challenges

HERE you can find a list of all the challenges. If you have an idea on how to improve this repo don't be shine, post a PR o open a new ISSUE!


Participating

  1. Clone this repo
  2. Install all dependencies via npm install.
  3. Fill all challenges in ./src/challenges.js.
  4. Test them via npm run test.
  5. Some ideas? Submit a PR or open an ISSUE!

Contributing

  1. Clone this repo.
  2. Install all dependencies via npm install.
  3. Write down your challenge (with solution) in ./src/challenges.js.
  4. Write a test for your challenge in ./test/_your-challenge.js.
  5. Import your test in the test.js file.
  6. Test your challenge via npx ava ./test/_your-challenge.js.
  7. Move your solution to ./src/solutions.js.
  8. Submit your PR!

Contributing notes

All challenges need to follow this scheme:

(2 spaces between each challenge)

    /** 
     * CHALLEBGE <n>: <CHALLENGE-NAME>
     * @name <functionName>
     * @description <challenge-description>
     * @author <Your Name> <you[at]domain.com>
     * 
     * 
     * @example Usage:
     * functionName(args) //=> output
     * 
     * 
     * @param {Type} a ...
     * @param {Type} b ...
     * 
     * @returns {Type} ... 
    */
    module.exports.challenge_name = function() {}

If your challenge is taken from forums please link the thread or the stackoverflow question with @see

READ MORE ABOUT JSODC here

Related


TwitterInstagramGitHub

About

🏆A collection of Javascript coding challenges, from beginner to advanced.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5