* remove parenthesis from description
As discussed in #38507 , I'm removing the phrase in parenthesis
* more succint description
Co-authored-by: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
Co-authored-by: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
* fix: resolve#39301
Add a test to check the "MyComponent" constructor's parameters (params) and to check that the super function exists in the constructor.
* docs: describe the test better
* Update curriculum/challenges/english/03-front-end-libraries/react/write-a-react-component-from-scratch.english.md
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
* Update greatest-subsequential-sum.english.md
Added missing closing bracket in test description in the tests section.
Removed variable declared twice in the solution section.
* Update euler-method.english.md
* Update euler-method.english.md
* Update euler-method.english.md
Added parameter description fixing the suggested changes.
* Update euler-method.english.md
Removed some formatting from the added text.
* Update euler-method.english.md
Moved seed function parameter description to instructions section.
* feat: update backend project links
Replace solution and remix Glitch links with equivalent Repl.it links in backend projects/challenges and intro pages.
* fix: link and Repl.it casing
* fix: update mention of glitch in testing challenge
* Apply suggestions from code review
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Using the English challenge as a source for the seed, solution and tests
this takes the parts that can be translated from the translated version
of the challenge. It also translates known comments in the seed.
* fix:Incorrect Usaage of setState in React Challenge
* apply suggestion
* also set stage usage in other challenges
* fix setState usage in challenges
* correct syntax
* correct usage of useState in other files
* add current message to state
* remove current message from state
* change connect redux to the message app
* remove extra space
* fix: Replace Array.prototype.sort and update old isSorted method.
* fix: Change name of function from 'checkInBuiltSort' to 'checkBuilitInSort'.
* fix: Change name of function from 'checkBuilitInSort' to 'isBuiltInSortUsed'.
* myReplace("I think we should look up there", "up", "Down")
* Checks for previously unchecked scanarios of the 'after' input being capitalized and 'before' word being uncapitalized.
* remove MDN links from English challenges
* add push challenge reference to record-collection
* refactor truthy falsy verbiage
* replace MDN link with news link
* remove unnecessary whitespace
* fix(learn): Added test for edge case
* Test checks edge cases for incorrect spelling in middle characters.
* fix: removed 'pen' sageTest
* the 'pen' points out that it is not the end of the first word to be tested for, but the end of the string.
However, this is explained clearly in the 'mountain' test below just as well.
In the challenge seed renderOnline variable has been used and referenced but in the solution seed the variable has been changed to renderOnlineUser so, changed renderOnlineUsers back to renderOnline variable.
* Fix text inconsistency
To match the eight ECMAScript Language Types on the previous paragraph.
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
* Standardize indent size in "Priority Queue" seed
* Standardize indent size in "Circular Queue" seed
* Standardize indent size
* Standardize indents "Search within a Linked List"
* Standardize indents "Remove Elements from a Linked List by Index"
* fix comparing-and-sorting-tuples answer
apply flag to sorted function
* remove commas from numpy array
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* fix: add clarification to question
* fix: adjust word placement
Adjust word placement in python for everybody curriculum
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* fix: Data Analysis with Python- Incorrect answer for Numpy Operations
* Update curriculum/challenges/english/08-data-analysis-with-python/data-analysis-with-python-course/numpy-operations.english.md
Change option from 2 to 1
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* fix: dictionaries and loops
* fix: dictionaries common applications
* fix: intermediate strings
* fix: introduction elements of python
* fix: networking using urllib in python
* fix: objects a sample class
* fix: python dictionaries
* fix: python lists
* fix: strings and lists
* fix: web services xml
* fix: refactor python questions to md
* fix: refactor questions to md
* fix: remove extra word
Removed unnecessary word is
* fix: add code blocks to answers
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: format python code
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix(learn): update instructions
edited text - change "returns a random number" to "returns a random whole number" to be more clear on the problem statement.
Address review comments : add the keyword "whole" to description, to make it consistent with challenge title and Instructions.
* NumPy Algebra and Size: Size and Efficiency Question
* Update curriculum/challenges/english/08-data-analysis-with-python/data-analysis-with-python-course/numpy-algebra-and-size.english.md
Co-authored-by: Eric Leung <eric@erictleung.com>
Co-authored-by: Eric Leung <eric@erictleung.com>
* Importing CSV Using Pandas Module
* feat: process video question md into html (#38667)
* feat: process video question md into html
* test: mdToHTML
* fix: use dedicated prism component
* fix: Jupyter notebook challenge file name (#38740)
* fix quote error
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Eric Leung <eric@erictleung.com>
Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
* fix: improve tests for video challenges
* fix: remove unused challenges + get rid of no description warning
* fix: remove non-existent challenges from meta
* Clarify definition of "symmetric difference"
* Add definition of binary operation
* Adjust wording in "Symmetric Difference"
* Improve preposition use
* Move instructions to the Instructions section
Co-authored-by: Eric Leung <eric@erictleung.com>
* Moved code tag to include new keyword
The new keyword hasn't been explained in the curriculum yet, so have moved the <code> tag to include the new keyword to give a prompt that it needs to be used in the solution.
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-arrow-functions-to-write-concise-anonymous-functions.english.md
Added comma.
Co-authored-by: Lasse Jørgensen <28780271+lasjorg@users.noreply.github.com>
* allow use of g flag
added functionality of tests to allow for the use of g flag by resetting the lastIndex as per example in https://github.com/freeCodeCamp/freeCodeCamp/pull/37941.
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-all-or-none.english.md
Co-Authored-By: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-all-or-none.english.md
Co-Authored-By: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-all-or-none.english.md
Co-Authored-By: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-all-or-none.english.md
Co-Authored-By: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Improve formatting and clarity in "Subset"
* Change method name to isSubsetOf
Co-authored-by: Eric Leung <eric@erictleung.com>
* Change method name to isSubsetOf
Co-authored-by: Eric Leung <eric@erictleung.com>
* Fix method name in tests
* Fix variable name aIsSubsetOfB
* Fix method name in solution
Co-authored-by: Eric Leung <eric@erictleung.com>
* fix: use example in modifying an object within a nested object exercise to explain how to do so
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/modify-an-object-nested-within-an-object.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/modify-an-object-nested-within-an-object.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/modify-an-object-nested-within-an-object.english.md
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/modify-an-object-nested-within-an-object.english.md
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Fixed a Typo in Eulers Problem 70
Line 15 should say "Find the value of <var>n</var>, 1 < <var>n</var> < 10**7, for which φ(<var>n</var>) is a permutation of <var>n</var> and the ratio <var>n</var>/φ(<var>n</var>) produces a minimum." instead of Find the value of <var>n</var>, 1 < <var>n</var> < 107, for which φ(<var>n</var>) is a permutation of <var>n</var> and the ratio <var>n</var>/φ(<var>n</var>) produces a minimum.
* Updated the Markdown
Fixes the markdown to display proper superscript rather than just using ** to denote a superscript
* changes to bfs instructions
* added description on visual representation
* Added to the animation description
* Added information about stacks in the description
* Edited description for clarity
* Edited small details for grammar and clarity
* Apply suggested wording and typo fixes
Co-authored-by: Eric Leung <eric@erictleung.com>
* Add typo fixes to BFS challenge
Co-authored-by: Kyla Yujiri <27860923+kylayujiri@users.noreply.github.com>
Co-authored-by: Eric Leung <eric@erictleung.com>
* add: test to return early pattern
Currently no test for a = 0 or b = 0. This results in if(a<=0 || b<= 0) also being a valid solution
* fix: typo in test text
* fix: update return early pattern test
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Fixed typo "in the left" should be "at the left"
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator.english.md
Co-Authored-By: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* Update use-breadth-first-search-in-a-binary-search-tree.english.md
* Update curriculum/challenges/english/08-coding-interview-prep/data-structures/use-breadth-first-search-in-a-binary-search-tree.english.md
Committed suggested changes
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* add debugging function to solution
Ensured seed code and solution matched-up.
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* fix(curriculum): replace comments with empty strings in merge-sort challenge
* Update curriculum/challenges/english/08-coding-interview-prep/algorithms/implement-merge-sort.english.md
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* Differentiate between test & match
I noticed that nowhere was there a mention that .match() and .test() pass in and are applied to opposite objects. This would've saved me a few minutes of searching during later challenges that assume this is understood.
* Add in .match & .test difference after example
* fix: add spaces to stop lint errors
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Adding a test in problem-14-Longest-collatz-sequence.english.md
Adding a test in problem-14-Longest-collatz-sequence.english.md
* fix(curriculum): use more efficient algorithm
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix(Curriculum): ensure code that includes and is not equal to the flat or flatMap methods do not fail the test suite
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/steamroller.english.md
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* Update steamroller.english.md
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* fix(Curriculum): update examples on how to set key-value pairs
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/add-key-value-pairs-to-javascript-objects.english.md
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/add-key-value-pairs-to-javascript-objects.english.md
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* Update add-key-value-pairs-to-javascript-objects.english.md
* Update add-key-value-pairs-to-javascript-objects.english.md
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* changed lesson to match behaviour
* Update wording for debugging
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update wording from suggestion
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* all suggestions with note
* fix: replaced code tags with backticks for markdown
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Ashraf Nazar <ashraf.caspian@gmail.com>
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Fix pig latin challenge description
Added statement for beginning with consonants and if a vowel does not begin with a vowel.
* fix: update description/instructions
* fix: removed extra line break
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: removed extra line break
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>