diff options
author | Andinus <andinus@nand.sh> | 2021-08-25 20:10:19 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2021-08-25 20:10:19 +0530 |
commit | 3fb698bbe091cbaa8d5d3f2256ebfb776523448d (patch) | |
tree | 46afb9bc82dd810ef9b7b21ed15056721373fe18 /javascript/hello-world/README.md | |
parent | 094df4feb1fc02197029764e4f748c9680150574 (diff) | |
download | exercism-3fb698bbe091cbaa8d5d3f2256ebfb776523448d.tar.gz |
JS: Solve hello-world, two-fer, square-root
Diffstat (limited to 'javascript/hello-world/README.md')
-rw-r--r-- | javascript/hello-world/README.md | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/javascript/hello-world/README.md b/javascript/hello-world/README.md new file mode 100644 index 0000000..21fe8c9 --- /dev/null +++ b/javascript/hello-world/README.md @@ -0,0 +1,64 @@ +# Hello World + +The classical introductory exercise. Just say "Hello, World!". + +["Hello, World!"](http://en.wikipedia.org/wiki/%22Hello,_world!%22_program) is +the traditional first program for beginning programming in a new language +or environment. + +The objectives are simple: + +- Write a function that returns the string "Hello, World!". +- Run the test suite and make sure that it succeeds. +- Submit your solution and check it at the website. + +If everything goes well, you will be ready to fetch your first real exercise. + +## Setup + +Go through the setup instructions for Javascript to install the necessary +dependencies: + +[https://exercism.io/tracks/javascript/installation](https://exercism.io/tracks/javascript/installation) + +## Requirements + +Please `cd` into exercise directory before running all below commands. + +Install assignment dependencies: + +```bash +$ npm install +``` + +## Making the test suite pass + +Execute the tests with: + +```bash +$ npm test +``` + +In the test suites all tests but the first have been skipped. + +Once you get a test passing, you can enable the next one by changing `xtest` to +`test`. + + +## Submitting Solutions + +Once you have a solution ready, you can submit it using: + +```bash +exercism submit hello-world.js +``` + +## Submitting Incomplete Solutions + +It's possible to submit an incomplete solution so you can see how others have +completed the exercise. + +## Exercise Source Credits + +This is an exercise to introduce users to using Exercism [http://en.wikipedia.org/wiki/%22Hello,_world!%22_program](http://en.wikipedia.org/wiki/%22Hello,_world!%22_program) + |