* fix: rework challenge to use argument in function
* fix: add solution
* fix: use MathJax to improve look of math notation
* fix: corrections from review
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
* fix: define test arrays in background
* fix: add solution
* fix: position block evenly between paragraphs
* fix: include rules from external link
* fix: change to preferred version of spelling
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
* fix: improve wording
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
* fix: rework challenge to use argument in function
* fix: add solution
* fix: use MathJax to improve look of math notation
* fix: grammar
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
* fix: rework challenge to use argument in function
* fix: use MathJax to improve math notation
* fix: position block evenly between paragraphs
* fix: add solution
* fix: rework challenge to use argument in function
* fix: add solution
* fix: position examples evenly between paragraphs
* fix: use MathJax for math notation
* fix: ensure using in test arrays from background
* feat: add solution
* fix: improve description
* fix: grammar
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
* fix: solve off by one erro in solution
closes#42141
* fix: add white space for readability
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
* fix(learn): rework Rosetta Code SHA256
* fix: add extra info
* Add suggestions from Nick
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
* replace repl.it with replit.com in the English version
Replace repl.it to replit.com in the English version. Chinese and Spanish versions have the same issue.
* Updated the repl.it to replit.com or Replit
I changed the text from replit.com to Replit and added the changes to the files outside the curriculum folder.
* Forgot removing one .com.
There was on Replit.com that I missed when I reviewed the files.
* Resolve conflicts
I got an unable to auto merge so resolving conflicts and trying again.
* try committing conflicts again
* Trying the conflicts again
* chore: fix typo in personal library
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
Co-authored-by: gemmaf98 <44875585+gemmaf98@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
* Removes comments in js challanges by default
* fix local-scope-and-functions test regex
* fix all languages
* revert language changes
* removed unnecessary removeJSComments from challenges
* fix challanges in other languages
* removed removeJSComments from all challanges
Replace repl.it to replit.com in the English version. Chinese and Spanish versions have the same issue.
Co-authored-by: gemmaf98 <44875585+gemmaf98@users.noreply.github.com>
* feat: add two tests
* fix: missing backticks
* fix: improve wording in tests description
* fix: remove not needed link
* fix: unify test with description
* fix: make expected result format in instructions and tests match
* fix: grammar
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* fix: rework challenge to use argument in function
* fix: add solution
* fix: correct function call in seed code
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* fix: improve instructions wording
* fix: correct typo
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
* fix: make tests and descriptions more explicit
* fix: add example to description
* fix: replace pre tags with markdown
* fix: move test data to seed code for convenience
* fix: correct grammar from review
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
* Revert "fix: move test data to seed code for convenience"
This reverts commit 7a9c4723d6.
* fix: small corrections
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
* Remove spaces that are not meant to be there (L37, L134, L156) Makes quotes consistent (L61)
Remove spaces that are not meant to be there (L37, L134, L156)
Makes quotes consistent (L61)
* Consistent spacing after commas
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* Added extra test cases for hashtable.remove
* Minor Change
* Adjusted tests to use user created add function / Modified description
* Made test case description much more clear
* Changed instructions to be more clear
* Minor change to instructions
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* fix(learn): revert backslash change
Crowdin resolved the issue with backslashes escaping backtics in
the markdown parser, so this reverts the workaround we implemented
for that bug.
* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/s-expressions.md
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* fix: rework challenge to use argument in function
* fix: use better wording
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* fix: rework challenge to use argument in function
* fix: change leftover html to markdown
* Apply suggestions from code review
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* remove leftovers
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* Fix: remove a colon in rosetta-code/happy-numbers
Removed a colon that shouldn't be there
* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/happy-numbers.md
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Add inline code tags around all true and falses
https://github.com/freeCodeCamp/freeCodeCamp/pull/41349#discussion_r586700058
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* fix: clarify date format expectations
* chore: apply suggestions from code review
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Correct example code in description and last hints text to match the last assertion test's actual and expected inputs. The string input with a single backslash throws an unterminated string constant error (single backslash starts a regex). No change to last assertion test as it was written correctly with a double backslash and passing as expected.
* fix(learn): Replace demo projects
Replaces the Heroku demo project links with the
.rocks demo projects that @moT01 provided.
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
* fix(learn): Use correct endpoint
Corrects the API endpoint for the image search
project.
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
* fix: user stories to align with project + backticks
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
* fix(learn): address escaped backticks
Addresses the instances of escaped backticks - where a backtick is
preceded by a backslash. In most cases, this was left over from the
old parser. In some cases, a backtick was intended to be wrapped in
code tags and has been adjusted accordingly.
This issue came to light due to a bug in the translation flow on
Crowdin.
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
* fix: EVEN MORE :( :( :(
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
* fix: backslash nightmares
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
* fix: When you wish upon a *******
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
* fix(curriculum): md error introduced by formatter
* fix(curriculum): remove extra `s
* fix: restore quote symbol
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
* fix: Typo
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: apply review changes
Applying review feedback from call with @RandellDawson.
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
* fix: markdown does weird stuff sometimes
Can't stick backticks together - use code.
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update find-the-minimum-and-maximum-height-of-a-binary-search-tree.md
* fixed binary search tree values for balanced tree test
* Apply suggestions from code review
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
March 8, 2009 is the weekend of spring forward to EDT in the US. This change moves the example date and test back one day to add twelve hours to a time on March 6, 2009, resulting in a time on March 7, 2009.