New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(curriculum): Improve verbiage and add examples to the map, filter, and reduce challenges #37709
fix(curriculum): Improve verbiage and add examples to the map, filter, and reduce challenges #37709
Conversation
2178f41
to
f3a8cd8
Compare
f3a8cd8
to
608da40
Compare
@raisedadead Why does Gitpod still show Pending status? When I click on Details link, it opens up Gitpod and creates the build and eventually shows everything working as it should. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RandellDawson since you wanted the verbiage shrinking I ended up being quite aggressive with the cuts/re-wording. Let me know if I went too far.
...ctures/functional-programming/use-the-filter-method-to-extract-data-from-an-array.english.md
Outdated
Show resolved
Hide resolved
...ctures/functional-programming/use-the-filter-method-to-extract-data-from-an-array.english.md
Outdated
Show resolved
Hide resolved
...ctures/functional-programming/use-the-filter-method-to-extract-data-from-an-array.english.md
Outdated
Show resolved
Hide resolved
...tructures/functional-programming/use-the-map-method-to-extract-data-from-an-array.english.md
Outdated
Show resolved
Hide resolved
...tructures/functional-programming/use-the-map-method-to-extract-data-from-an-array.english.md
Outdated
Show resolved
Hide resolved
...-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md
Outdated
Show resolved
Hide resolved
...-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md
Outdated
Show resolved
Hide resolved
...-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md
Outdated
Show resolved
Hide resolved
...-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md
Outdated
Show resolved
Hide resolved
...-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md
Outdated
Show resolved
Hide resolved
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Maybe it's just a glitch or something. 🤷♂ |
...-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md
Outdated
Show resolved
Hide resolved
...-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md
Outdated
Show resolved
Hide resolved
...tructures/functional-programming/use-the-map-method-to-extract-data-from-an-array.english.md
Outdated
Show resolved
Hide resolved
...tructures/functional-programming/use-the-map-method-to-extract-data-from-an-array.english.md
Show resolved
Hide resolved
...ctures/functional-programming/use-the-filter-method-to-extract-data-from-an-array.english.md
Outdated
Show resolved
Hide resolved
...ctures/functional-programming/use-the-filter-method-to-extract-data-from-an-array.english.md
Show resolved
Hide resolved
...-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md
Outdated
Show resolved
Hide resolved
...-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes for fixing a few bugs and some improvements.
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with these changes. I think it's a big improvement. Looks good @RandellDawson 🎉
@moT01 I am still working on add @Manish-Giri's suggested changes. I will try to do that today and then request one last look from you all. |
@Manish-Giri and @thecodingaviator Can you please take one last review to see if this is ready to merge? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RandellDawson Looks good. Good job 💯
Thank you for your contribution to the page! 👍 |
…, and reduce challenges (freeCodeCamp#37709) * fix: improve verbiage and add examples to challenges * fix: condensed map method wording Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * fix: remove leading space Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * fix: improved verbiage Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * fix: shortened reduce challenge verbiage Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * fix: shorten verbiage related to reduce 2nd parameter Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * fix: added comma Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * fix: shortened filter verbiage Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * fix; added comma Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * fix: improved verbiage of map method Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * fix: shortened reduce verbiage Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * fix: correct map method verbiage Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * fix: added word array Co-Authored-By: Manish Giri <manish.giri.me@gmail.com> * fix: added missing comma Co-Authored-By: Manish Giri <manish.giri.me@gmail.com> * fix: changed u to sumOfAges Co-Authored-By: Manish Giri <manish.giri.me@gmail.com> * fix: created one sentence out of many Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com> * fix: changed to on each iteration Co-Authored-By: Manish Giri <manish.giri.me@gmail.com> * fix: fixed verbiage in filter and map challenges
Update index.md
)master
branch of freeCodeCamp.Closes #37704
This PR attempts to explain in detail how each of the methods introduced in the following challenges work and includes examples of how to use them. The current versions of these challenges almost assume the user has already been taught how to use them, which is why the forum gets a lot of questions for these challenges.
Use the map Method to Extract Data from an Array
Use the filter Method to Extract Data from an Array
Use the reduce Method to Analyze Data
I also formatted the challenge seed code to use two space indentation, to reduce the line width of the code and make it more readable.