Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

403-html/javascript-coding-challenges

Open more actions menu

Repository files navigation

Javascript Coding Challenges

Version Last commit Jest version Language

Description

Sample coding challenges. You can write and test it right away.

A repository for testing and storing programming tasks. Due to the added tests, it is possible to control your own capabilities.

It's not perfect, so if you see a bug in the solution or within tests, it will be great if you share your thoughts on the subject, for example, as an issue or creating a PR.

How to work with it

First, you have to clone the project

git clone https://github.com/403-html/javascript-coding-challenges.git

then install all dependencies

for npm

npm install

or yarn

yarn install

Then search for an interesting challenge, for example, prime-number. Read the README.md in that folder. Write your solution in a javascript file dedicated to this folder (in our case, isPrime.js). There is a special place dedicated to doing that.

If you're sure it's all good, go to the __tests__ folder and open the test file. Remove the .skip method in tests and save.

Run tests by npm

npm run prime-number

or if you're using yarn

yarn run prime-number

If you take another task to do, just use the name of the task folder instead of prime-number.

Enjoy!

Contributors

Author: Tymoteusz '403-html' Stępień

About

Here I will put my challenges with how I resolve it. Feel free to fork by yourself.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.