Skip to content

README: Make more consistent with other repos - #230

Merged
thatblindgeye merged 4 commits into
mainfrom
thatblindgeye-patch-1
Feb 17, 2022
Merged

thatblindgeye merged 4 commits into
mainfrom
thatblindgeye-patch-1

Conversation

@thatblindgeye

Copy link
Copy Markdown
Contributor

Made updates to the README of this repo to be a little more consistent with other repos, and to include a link to the contributing guide.

@thatblindgeye thatblindgeye added Status: Needs Review This issue/PR needs an initial or additional review Type: Documentation Involves an update to the documentation labels Feb 14, 2022

@01zulfi 01zulfi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see there was a merge conflict due to me merging a pull request yesterday. Apologies for that. Thanks for resolving it, and making these changes.

I've left a comment below. Everything else looks good 🔥

Comment thread README.md Outdated
Each exercise includes 3 files: a markdown file with a description of the task, an empty (or mostly empty) JavaScript file, and a set of tests. To complete an exercise, you'll need to go to the exercise directory with `cd exerciseName` in the terminal and run `npm test exerciseName.spec.js`. This should run the test file and show you the output. When you first run a test, it will fail. This is by design! You must open the exercise file and write the code needed to get the test to pass. Some of the exercises have test conditions defined in their spec file that are defined as 'test.skip' compared to 'test'. This is purposeful. After you pass your first 'test', you will change the next 'test.skip' to an 'test' and test your code again. You'll do this until all conditions are satisfied. **ALL TESTS MUST PASS AT THE SAME TIME.**
1. Before you start you should have a few things installed on your machine:
* **NPM**. We should have installed NPM already in our [Installing Node.js](https://www.theodinproject.com/paths/foundations/courses/foundations/lessons/installing-node-js) lesson. Just in case you need to check, type `npm --version` in your terminal. If you get back `Command 'npm' not found, but can be installed with:`, **do not follow the instructions in the terminal** to install with `apt-get` as this causes permission issues. Instead, go back to the installation lesson and install Node with NVM by following the instructions there.
* **Jest**. After cloning this repository to your local machine, go into the newly created directory (`cd javascript-exercises`) and run `npm install`. This will install Jest and set up the testing platform based on our preconfigured settings.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line assumes that the user has already forked and clone with the statement "go into the newly created repository", while it is the next instruction that directs user to fork and clone this repository.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I saw that other PR get put up and meant to check it to merge it myself but never got around to it, so thank you for merging theirs to give them the contribution as that's what I had wanted to happen.

And good catch on that, will update that momentarily.

@thatblindgeye thatblindgeye removed the Status: Needs Review This issue/PR needs an initial or additional review label Feb 17, 2022
@thatblindgeye
thatblindgeye merged commit 1971712 into main Feb 17, 2022
@KevinMulhern
KevinMulhern deleted the thatblindgeye-patch-1 branch July 6, 2023 14:52
d2038 pushed a commit to d2038/javascript-exercises that referenced this pull request May 22, 2024
…ye-patch-1

README: Make more consistent with other repos
Oussama5379 added a commit to Oussama5379/javascript-exercises that referenced this pull request Feb 1, 2025
…ye-patch-1

README: Make more consistent with other repos
FredTheJanitor pushed a commit to FredTheJanitor/javascript-exercises that referenced this pull request May 29, 2026
…ye-patch-1

README: Make more consistent with other repos
FredTheJanitor pushed a commit to FredTheJanitor/javascript-exercises that referenced this pull request May 29, 2026
…ye-patch-1

README: Make more consistent with other repos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Documentation Involves an update to the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants