Commit Graph

117 Commits (45904743c79b54018c75b8429e0596397883c1b4)

Author SHA1 Message Date
alirezaghey f4d07a2cdf
fix: solve off by one error in solution (#42152)
* 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>
2021-05-16 20:04:07 +02:00
Sem Bauke 2e915a7259
fix(learn): rework Rosetta Code SHA256 (#41936)
* 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>
2021-05-14 16:41:42 +00:00
gikf d9ed4057ef
fix(curriculum): rework Project Euler 80 (#42128)
* fix: rework challenge to use argument in function

* fix: add solution
2021-05-14 11:51:29 +05:30
gikf 4a9559ad98
feat(curriculum): add tests and solution (#42111)
* feat: add tests

* feat: add solution
2021-05-14 11:50:30 +05:30
gikf 4c083f44e9
fix(curriculum): rework Project Euler 77 (#42077)
* fix: rework challenge to use argumnet in function

* fix: add solution

* fix: position block evenly between paragraphs
2021-05-14 11:49:58 +05:30
gikf 911d18bae5
fix(curriculum): rework Project Euler 78 (#42104)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: improve look and spacing
2021-05-14 11:49:23 +05:30
gikf efe1f48a57
fix(curriculum): rework Project Euler 76 (#42072)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: position block evenly between paragraphs
2021-05-14 11:48:52 +05:30
gikf e9f8f425b3
fix(curriculum): rework Project Euler 74 (#42057)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax for consistent look
2021-05-14 11:48:22 +05:30
gikf 4260416ac3
fix(curriculum): rework Project Euler 75 (#42066)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: position block evenly between paragraphs
2021-05-11 18:26:58 +05:30
gikf a6acbe20cc
fix(curriculum): rework Project Euler 71 (#42006) 2021-05-11 13:33:29 +02:00
gikf f42e4292ad feat: add solution 2021-05-06 04:26:22 +05:30
gikf 582b9a3298
fix(curriculum): rework Project Euler 66 (#41963)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-05-05 13:24:49 +05:30
gikf 7a04b8977f
fix(curriculum): rework Project Euler 70 (#41988)
* fix: rework challenge to use argument in function

* fix: use MathJax for display consistency

* fix: add solution
2021-05-05 13:22:16 +05:30
gikf 57238ccdc9
fix(curriculum): rework Project Euler 69 (#41974)
* fix: rework challenge to use argument in function

* fix: use mathjax for consistent phi letter

* fix: add solution

* fix: re-align table formatting
2021-05-04 11:12:33 +05:30
GM Fuster 3b056aa7b4
chore(replit): use correct brand name across codebase (#41941)
* 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>
2021-04-29 11:13:38 +01:00
Evgeny Klimenchenko db369fbed1
fix(client): remove JS comments from user code for tests (#41873)
* 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
2021-04-28 10:18:54 -05:00
GM Fuster d8ca6db29e
fix(curriculum): replace repl.it with replit.com (#41933)
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>
2021-04-27 21:30:04 +01:00
gikf e180fc21a6
fix(curriculum): rework Problem Euler 65 (#41790)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: missing backticks
2021-04-13 11:32:05 -05:00
gikf ec8d248929
feat(curriculum): add two tests to challenge (#41793)
* feat: add two tests

* fix: missing backticks

* fix: improve wording in tests description

* fix: remove not needed link

* fix: unify test with description
2021-04-13 10:23:53 +02:00
gikf 9a160276e1
fix(curriculum): make expected result format in instructions and tests match (#41760)
* 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>
2021-04-12 17:15:00 +02:00
gikf 23e7d8019d
fix(curriculum): rework Project Euler 64 (#41764)
* fix: rework challenge to use argument in function

* fix: add solution
2021-04-08 11:19:59 -07:00
gikf 9c35bf0bd1
fix(curriculum): prevent malforming of svg image (#41755)
* fix: correct displaying of malformed svg
2021-04-07 09:59:33 +02:00
gikf 8cc172d9e8
fix(learn): rework Rosetta Code Harshad or Niven series (#41554)
* fix: rework challenge to use argument in function

* fix: remove unnecessary link

* fix: improve wording

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-03-26 02:28:09 +05:30
Laurent Labine 8e22962523
fix(curriculum) replace single-line blocks with multi-line blocks for… (#41526)
* fix(curriculum) replace single-line blocks with multi-line blocks for issue 51418

Data visualization and Coding Interview Prep portions.

* Update execute-a-markov-algorithm.md

Implemented as inline code blocks as discussed

* Adding missed blocks

* Last file added
2021-03-25 07:43:13 -07:00
gikf b8ddfc08b3
fix(learn): rework Project Euler 63 (#41425)
* 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>
2021-03-16 18:41:47 -05:00
Randell Dawson d2f4b70ea6
fix: remove end of line chars after code blocks (#41498) 2021-03-16 07:49:43 -07:00
gikf 9669e39b85
fix(learn): make tests and test descriptions more explicit (#41281)
* 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>
2021-03-12 07:29:03 -08:00
Luca 5589c37804
fix(learn): remove wrong spaces and make quotes consistent (#41434)
* 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>
2021-03-11 07:19:07 -08:00
Caden Parker 6b9aeff09e
fix(learn): Rework Euler Problem 461 (#41333)
* Made instructions more clear + Corrected test cases

* Added highlight for return values

* Adjusted challenge description

* Rework

* Fixed minor linting error

* Address PR Comments

* Adjusted wording in description
2021-03-10 08:14:27 -07:00
Caden Parker d8e6d8dc46
fix(learn): Rework Euler Problem 182 (#41337)
* Rework Euler Problem 182

* Reordered tests

* Fixes for formatting
2021-03-10 15:55:52 +01:00
Caden Parker 256e7f416d
fix(learn): Added more robust logic for the remove test case in Create A Hash Table (#41283)
* 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>
2021-03-09 12:45:20 -06:00
Nicholas Carrigan (he/him) c5bcebc724
fix(learn): revert backslash change (#41382)
* 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>
2021-03-09 10:13:27 -06:00
gikf bd02249a23
fix(learn): rework Rosetta Code Count the Coins (#41282)
* 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>
2021-03-09 08:34:10 -06:00
gikf 93495ef6db
fix(learn): correct tests description (#41280)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-03-09 11:48:12 +05:30
gikf 5332628e6d
fix(learn): rework Rosetta Code Hailstone Sequence (#41279)
* 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>
2021-03-04 13:28:47 -08:00
lusc 8a5711dda7
Fix: remove a colon in rosetta-code/happy-numbers (#41349)
* 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>
2021-03-04 09:25:55 -07:00
Andrew Cen 65cc800689
fix: add blank lines on empty seeds (#41348) 2021-03-03 13:14:28 -08:00
Randell Dawson 57f3c80345
fix(learn): Clarify date format expectations for the Date Format challenge (#41327)
* 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>
2021-03-02 15:46:30 -08:00
gikf 219339b2ce
fix(learn): rework Project Euler - Problem 58 (#41188) 2021-02-20 12:06:32 +05:30
gikf f5a905b7c2
fix(learn): unmangle challenge description (#41182) 2021-02-20 12:04:38 +05:30
gikf 70c4d82068
fix(learn): correct test result (#41068) 2021-02-20 12:04:12 +05:30
gikf c8db838754
fix: correct function call in test description (#40949) 2021-02-20 12:03:54 +05:30
gikf a91444d3d4
fix: correct function call in test description (#40944) 2021-02-20 12:03:33 +05:30
gikf 762775889e
fix: rework Project Euler - Problem 57 (#40926)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: correct variable name
2021-02-17 11:58:18 -08:00
gikf 6ae3735979
fix: correct tests descriptions (#40945) 2021-02-10 17:12:12 +05:30
Kim Leung 082b269dce
fix(learn): backslashes in description & hint text (#40801)
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.
2021-02-10 17:10:51 +05:30
gikf 313b345611
fix: correct Rosetta Code Knight's tour solution (#40830)
* fix: correct answers in tests and descriptions

* fix: replace sample solution for correct one

* fix: missing space

* fix: improve sample solution performance
2021-02-03 12:43:29 -06:00
Kim Leung a37d5f5817
fix(learn): add output type verbiage (#40589)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-02-01 19:41:15 +05:30
Kai-Chin Huang 5503b54f85
fix(learn): update the return Object.values & solution (#40451) 2021-02-01 13:12:54 +05:30
Mainak Debnath d5ad87d915
fix(learn): put test cases under --seed-- and remove them from the solution (#40755)
* fix: put test cases under --seed--

* fix: put test cases under --seed--
2021-01-21 18:26:06 -08:00