Commit Graph

2744 Commits (8518079316ea2a9fc47d569879642a174fa8ad9e)

Author SHA1 Message Date
Mrugesh Mohapatra 7eb0630f2d
chore(i18n,chn): manually downloaded curriculum (#42858) 2021-07-15 13:04:11 +05:30
gikf eef1805fe6
fix(curriculum): clean-up Project Euler 201-220 (#42826)
* fix: clean-up Project Euler 201-220

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-15 09:20:31 +02:00
Mrugesh Mohapatra fc0511bd91
chore(i18n): download curriculum manually (#42835) 2021-07-14 10:32:51 -05:00
gikf bfc21e4c40
fix(curriculum): clean-up Project Euler 141-160 (#42750)
* fix: clean-up Project Euler 141-160

* fix: corrections from review

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: use different notation for consistency

* Update curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-144-investigating-multiple-reflections-of-a-laser-beam.md

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-14 13:05:12 +02:00
tristansoriaga 5e8ac21c26
fix(curriculum): remove example function calls from seed (#42797) 2021-07-13 16:37:38 +01:00
gikf 32fac23a2d
fix(curriculum): clean-up Project Euler 161-180 (#42782)
* fix: clean-up Project Euler 161-180

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-07-12 16:19:03 +02:00
Anirudh Modi 1e26dc1529
fix(curriculum): updates `body-parser` with explanation for `extended` config (#42740)
* fix: better explaination for body-parser extened config

* text readability by introducing line break

* grammer fixes

* fix: typo

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2021-07-11 15:06:57 +01:00
Renovate Bot 4152cacd7c chore(deps): update dependency joi to v17.4.1 2021-07-11 07:51:44 +00:00
Nicholas Carrigan (he/him) c4fd49e5b7
chore: manual translations (#42811) 2021-07-10 09:53:54 +05:30
Innocent V.I ac2fe62eef
fixed create-decimal-numbers-with-javascript challenge external link (#42801) 2021-07-09 09:02:47 -05:00
Renovate Bot 6a562571ba chore(deps): update dependency acorn-jsx to v5.3.2 2021-07-09 02:46:55 +00:00
Kristofer Koishigawa b74b32385b
fix: update data analysis with python links (#42698) 2021-07-06 10:40:29 +02:00
camperbot d98648d26e
chore(i18n,curriculum): processed translations (#42751) 2021-07-05 07:31:44 -07:00
Lorem Ispum 28efec9e63
fix: recognize background-image as correct (#42738) (#42745)
* fix: recognize background-image as correct (#42738)

The page mentioned in #42738 before would not accept background-image and background, now it should.

* fix: CI build error

Co-authored-by: Ilenia <nethleen@gmail.com>

Co-authored-by: Ilenia <nethleen@gmail.com>
2021-07-05 12:28:49 +02:00
camperbot 91a35978e6
chore(i18n,curriculum): update translations (#42742) 2021-07-05 12:27:02 +05:30
camperbot 21bbc1ce8d
chore(i18n,curriculum): processed translations (#42734) 2021-07-03 20:07:10 +05:30
Renovate Bot d771569ad9 chore(deps): update dependency mocha to v9.0.2 2021-07-03 11:38:45 +00:00
camperbot 84044e9cc2
chore(i18n,curriculum): processed translations (#42721) 2021-07-02 18:45:29 +05:30
tristansoriaga 4be8a6f224
fix: Added comments on the function for clarity on coding-interview-prep (#42689) 2021-07-02 18:15:58 +05:30
camperbot 16e0d12d18
chore(i18n,curriculum): processed translations (#42697) 2021-07-01 08:40:52 -07:00
camperbot 2e346b1082
chore(i18n,curriculum): update translations (#42684) 2021-06-30 20:47:19 +05:30
renovate[bot] b921c74ba6
chore(deps): update dependency mocha to v9 (#42678)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 18:25:59 +05:30
gikf dc168cd96d
fix(curriculum): clean-up Project Euler 101-120 (#42597)
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-06-30 14:25:46 +02:00
renovate[bot] 2d8b0446b1
chore(deps): update dependency puppeteer to v10 (#42673)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 00:56:31 +05:30
camperbot af2c1a1444
chore(i18n,curriculum): processed translations (#42669) 2021-06-29 08:18:33 -07:00
camperbot d6955dd83a
chore(i18n,curriculum): update translations (#42659) 2021-06-28 20:01:36 +05:30
Braxton Excell 6631e51113
fix(curriculum): update object keys referenced in instructions to match provided object (#42613)
* Update referenced object keys for clarity

Because each movie object has both `Rated` and `imdbRating` key/value pairs, simply referencing `rating` could be confusing to campers. IMO explicitly referencing the keys by name (`Title` and `imdbRating`) removes ambiguity in the non-important part of this challenge and helps campers focus on learning about `.map()`.

* other references and tests

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-map-method-to-extract-data-from-an-array.md

* reverse previous changes

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-map-method-to-extract-data-from-an-array.md

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-28 16:25:33 +02:00
gikf 052173e502
fix(curriculum): improve description and tests descriptions (#42546)
* fix: replace html with markdown and MathJax

* fix: replace html with markdown and MathJax

* fix: replace example

* fix: clarify expected input and output

* fix: add another test

* fix: change image in seed code

* fix: grammar

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-06-28 13:16:25 +05:30
Aileen 35f8295d7a
quickfix: curriculum test regex now covers new line format (#42638) 2021-06-28 13:13:12 +05:30
renovate[bot] 92796bf1c9
chore(deps): update dependency acorn to v8.4.1 (#42617)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-28 13:08:31 +05:30
camperbot 9942b595fa
chore(i18n,curriculum): update translations (#42649) 2021-06-27 13:21:13 -05:00
camperbot 9887fb2ca2
chore(i18n,curriculum): update translations (#42629) 2021-06-26 16:12:30 +00:00
camperbot d107da3f1b
chore(i18n,curriculum): update translations (#42620) 2021-06-24 19:50:20 +05:30
alirezaghey 33aa14bc4a
fix(curriculum): reference to file in boilerplate project (#42616) 2021-06-24 12:02:51 +01:00
Alan Luo 4ed0befc4e
fix(curriculum): link mismatch (#42610) 2021-06-23 17:08:39 +00:00
camperbot 6d3a801bd6
chore(i18n,curriculum): update translations (#42608) 2021-06-23 11:05:24 -05:00
alirezaghey 7defcaf58e
fix(curriculum): fix typo in sudoku-solver description (#42601) 2021-06-22 20:18:44 +01:00
renovate[bot] ae3e1a1d18
chore(deps): update babel monorepo to v7.14.7 (#42594)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-22 13:22:40 +05:30
camperbot 4aa6c6a00b
chore(i18n,curriculum): processed translations (#42581) 2021-06-21 15:43:43 +02:00
gikf f06b56f101
fix(curriculum): improve description and tests description (#42465)
* fix: make tests descriptions more explicit

* fix: clarify function input

* fix: clarify output of function, add example
2021-06-21 13:58:11 +05:30
Kealan Parr 6c8df573c3
fix(curriculum): clarify test text for react challenge (#42577)
* Ensure the test only checks the state name variable is present, it doesn't have to be the only word

* Emphasise in the test the wording that the instructions use
2021-06-21 06:29:34 +02:00
camperbot fe412b449e
chore(i18n,curriculum): update translations (#42568) 2021-06-20 09:59:09 -07:00
Huyen Nguyen 2c16234853
chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
awu43 f4b0b0b1b5
fix(curriculum): add test for event.preventDefault (#42522)
* Added note detail and event.preventDefault() test

* Replaced lookbehinds with matches

* Reverted to using \s instead of .

Now only matches if event.preventDefault() call is the only thing in the comment. This avoids matching note comments like "need to call event.preventDefault() here"

* Added optional semicolons for both comment checks

* Added trailing whitespace for line comment check

* Switched to match length checks

This should be equivalent to the two original lookbehinds

* Removed unnecessary .length check

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-18 22:05:05 +01:00
Oliver Eyton-Williams 82758ba9da
fix: remove duplicate Italian dictionary (#42562) 2021-06-18 23:51:08 +05:30
camperbot 523633678b
chore(i18n,curriculum): processed translations (#42559) 2021-06-18 15:50:39 +02:00
camperbot 5cb3cff877
chore(i18n,curriculum): processed translations (#42545) 2021-06-17 07:49:01 -07:00
Patrick Lehmann bc42ad1f27
fix(curriculum): add regex for comma separated const declarations (#42518)
Co-authored-by: Pat Lehmann <patrick.lehmann@homes.com>
2021-06-17 13:35:46 +01:00
lazy-geek de4e16a676
fix(curriculum): typo in Project Euler Problem (#42539)
* fixed typo

* removed change from translation

* fixed typo only in english language
2021-06-17 08:57:57 +02:00
camperbot b793107de6
chore(i18n,curriculum): processed translations (#42530) 2021-06-16 07:30:51 -07:00
dogfood654 e5505cbe7b
fix(curriculum): minor indentation for readability (#42451)
* Fixed minor indentation for readability

* amended to 2 indentation
2021-06-16 14:35:34 +01:00
Mrugesh Mohapatra a378bc6dd4
chore: rework the language audits for build (#42510)
This also reverts commit cd5c28b332.
2021-06-15 23:07:52 +05:30
Nicholas Carrigan (he/him) cd5c28b332
revert: disable portuguese (#42508)
* revert: disable portuguese

First certification is not 100% yet. Shipped too soon. :(

* feat: enable portuguese curriculum

Curriculum can build in portuguese, leaving client disabled to
prevent language from appearing in nav bar.

* feat: move audited cert list

Moves the audited cert list to the config, instead of the utils.
2021-06-15 21:32:29 +05:30
Tom 067761f2f6
feat(curriculum): add relational databases cert as upcoming change (#41658) 2021-06-15 16:37:13 +01:00
awu43 ae0d34359a
fix(curriculum): stop false positives in test for array hard coding (#42461)
* Fixed test regex to avoid false matches

* Changed regex to only match values in globalArray

* Revert non-English changes
2021-06-15 10:35:35 -05:00
Devesh Rane dba157e7c0
Add a period at the end of an ul tag (#42483) 2021-06-15 20:44:36 +05:30
camperbot 978ce8b512
chore(i18n,curriculum): processed translations (#42504) 2021-06-15 07:22:09 -07:00
Oliver Eyton-Williams e9c8d12703
fix(i18n): add missing portuguese blocks (#42505) 2021-06-15 07:21:20 -07:00
renovate[bot] f6c7e2ace6
chore(deps): update babel monorepo to v7.14.6 (#42492)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-15 16:38:39 +05:30
Nicholas Carrigan (he/him) f25e3e69f8
feat: enable new langs (#42491)
Enable italian and portuguese
2021-06-15 13:19:18 +05:30
gikf 82a834af37
fix(curriculum): rework Project Euler 51 (#42459)
* fix: rework challenge to use argument in function

* fix: add solution
2021-06-15 14:32:34 +09:00
awu43 24d2555633
fix(curriculum): add await before Promise.all() (#42472) 2021-06-14 19:40:47 +01:00
camperbot b3af21d50f
chore(i18n,curriculum): update translations (#42487)
* chore(i18n,curriculum): update translations

* chore: Italian to italian

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-06-14 11:34:20 -07:00
Ilenia 08fc4014c7
fix(curriculum): Removing genitive from inside backticks and backticks from word own (#42466)
* inherit-behaviors-from-a-supertype put genitive outside backticks

* override-inherited-methods genitive outside backticks

* reset-an-inherited-constructor-property genitive outside backticks

* use-prototype-properties-to-reduce-duplicate-code genitive outisde backticks

* use-prototype-properties-to-reduce-duplicate-code own without backticks

* removing genitive by rephrasing

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-14 17:52:28 +02:00
Stephan Düsterhöft d6491a9902
fix(curriculum): Period added to the end of the sentence. (#42480)
Dot added to the end of the sentence.
2021-06-14 20:44:23 +05:30
camperbot 7a0d7e603b
chore(i18n,curriculum): processed translations (#42478) 2021-06-14 07:47:03 -07:00
renovate[bot] d6b97894b2
chore(deps): update dependency acorn to v8.4.0 (#42442)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-14 15:51:59 +05:30
gikf 80b736b826
fix(curriculum): improve description and tests descriptions (#42408)
* fix: add input and output to tests descriptions

* fix: remove results from background code

* fix: clarify input and output of function

* 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>
2021-06-14 12:01:51 +05:30
gikf 2613622ef0
fix(curriculum): rework Project Euler 61 (#42397) 2021-06-14 12:01:28 +05:30
gikf c4cf53a742
fix(curriculum): improve description and tests descriptions (#42387)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-06-14 12:01:07 +05:30
gikf 7e921fb9d6
fix(curriculum): rework Project Euler 62 (#42384)
* fix: reworck challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve math notation
2021-06-13 13:32:54 +02:00
gikf d14008b32c
fix(curriculum): rework Project Euler 52 (#42434)
* fix: rework challenge to use argument in function

* fix: update solution
2021-06-13 13:30:32 +02:00
gikf 53f6a28ad9
fix(curriculum): rework Project Euler 102 (#42446)
* fix: rework challenge to use argument in function

* fix: add solution
2021-06-13 13:28:40 +02:00
gikf dadc6cc623
fix(curriculum): rework Project Euler 96 (#42376)
* fix: use in tests arrays defined in background

* feat: add solution

* fix: improve wording

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-06-13 13:20:47 +02:00
Ilenia ce3ccc47d4
fix(curriculum): remove unnecessary backticks (#42458) 2021-06-12 20:53:45 +02:00
zoembrown ca2f024aec
fix(curriculum): fixed typo in challenge (#42456) 2021-06-12 17:37:17 +02:00
alirezaghey 2d450bd4e6
fix(curriculum): correct small english typo (#42447) 2021-06-11 15:59:36 -07:00
gikf f0375198df
fix(curriculum): rework Project Euler 56 (#42364)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve look of math notation
2021-06-11 13:22:54 -05:00
gikf ea7683ac36
fix(curriculum): rework Project Euler 98 (#42423)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve math notation
2021-06-11 12:40:13 -05:00
Oliver Eyton-Williams c6aa6ddbcd
fix: get showUpcomingChange from env.json (#42440) 2021-06-11 16:40:37 +02:00
camperbot 9d4b3a339b
chore(i18n,curriculum): update translations (#42430) 2021-06-10 17:04:45 +02:00
Beau Carnes df4c0ef8f6
fix(curriculum): Update data analysis slides and question for first section (#42418)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-06-10 08:16:52 -06:00
renovate[bot] 49656662a4
chore(deps): update babel monorepo to v7.14.5 (#42425)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 14:13:07 +05:30
camperbot d81a451f4b
chore(i18n,curriculum): update translations (#42407) 2021-06-08 16:52:55 +02:00
DySQRD 6b60384160
fix(curriculum): correct blank field representation (#42253)
* Typo in Rosetta Code Challenge : "Sudoku"

It is stated blank fields are represented by 0s when they are actually -1s.

* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/sudoku.md

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
2021-06-08 10:50:00 +02:00
Ilenia 28add4712a
Remove backticks from around data types to ease translations (#42403) 2021-06-08 14:03:16 +05:30
gikf 99834ac1ef
fix(curriculum): rework Project Euler 43 (#42347)
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-06-08 11:43:07 +05:30
Shaun Hamilton 35b18829d1
fix(curriculum): use mediaText for CSSHelp (#42393)
* fix(curriculum): use mediaText in CSSHelp

prevent selection of style elements with class or media attributes
this should avoid picking up some browser extensions
2021-06-07 23:33:58 +02:00
Mallikarjun Ople 40401b0792
fix(curriculum): updated instructions on inline-styles (#42385) 2021-06-07 12:52:51 +01:00
camperbot 2d9c864b4b
chore(i18n,curriculum): update translations (#42377) 2021-06-06 08:19:07 -07:00
gikf 989347387f
fix(curriculum): rework Project Euler 38 (#42321)
* fix: rework challenge to use argument in function

* fix: update solution to challenge changes

* fix: use MathJax to improve look of math notation
2021-06-05 10:16:40 +02:00
Tom 2ac98e39a2
fix(curriculum): allow any response status for error response (#41906)
* fix(curriculum): allow any response status for error response

* Update curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/timestamp-microservice.md

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/timestamp-microservice.md

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-05 09:13:18 +01:00
camperbot ce1811bfe2
chore(i18n,curriculum): update translations (#42362) 2021-06-04 08:07:40 -07:00
Oliver Eyton-Williams 8290ad0bac
fix: force mocha to exit when 0 tests (#42357)
Otherwise a command like

npm run test:curriculum -- -g 'Not a real title'

will spin forever
2021-06-04 14:15:00 +02:00
Prasanna Venkatesh T S b5e228fc92
fix(curriculum): change projects hint article links (#42339)
What?
Make "Get a Hint" links of some projects to point to their
corresponding forum topics.
Ref: https://github.com/freeCodeCamp/freeCodeCamp/issues/40472#issuecomment-850496017

How?
Set `forumTopicId` in the front matter of the project files.

Closes #40472
2021-06-04 09:02:46 +02:00
gikf 401d42bdfc
fix(curriculum): rework Project Euler 32 (#42342)
* fix: rework challenge to use argument in function

* fix: change solution to allow using argument
2021-06-04 08:47:56 +02:00
Oliver Eyton-Williams 1fde5897fc
fix(curriculum): remove helpRoom and fileName (#42268)
* fix(curriculum): remove helpRoom and fileName

Neither are used any more.

* fix: remove fileName form cert meta.jsons
2021-06-04 00:15:01 +05:30
camperbot 814faaf82d
chore(i18n,curriculum): update translations (#42349) 2021-06-03 18:51:47 +05:30
nayanadasgupta f5eb0d55fb
fix(curriculum): add element to create-a-stack tests (#42326)
* Adding more than one stack item to the stack tests for #42322

* fix(curriculum): improved peek, pop and clear tests

tests that peek does not remove top element and pop does remove top element and addded an element to the stack for the clear test
2021-06-03 09:01:34 +02:00
gikf f559f18747
fix(curriculum): rework Project Euler 73 (#42300)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve math notation look
2021-06-03 14:00:28 +09:00
Seth Falco dfe80470c6
fix: require a link element in html (#42336)
* fix: require a link element in html

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-02 22:38:21 +02:00
impirios f7ca9796c1
Update specify-how-fonts-should-degrade.md (#42335)
Added a period at the end of the second sentence "These generic font families include monospace, serif and sans-serif".
2021-06-02 22:28:57 +04:00
camperbot 7d1e9af9df
chore(i18n,curriculum): update translations (#42323) 2021-06-02 12:46:30 +02:00
gikf c0aaecba63
fix(curriculum): rework Project Euler 72 (#42282)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax in fractions and equations

* fix: missing backticks
2021-06-01 08:50:51 +02:00
gikf 841a6758fd
fix(curriculum): rework Project Euler 100 (#42313)
* 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>
2021-05-31 19:05:17 -05:00
gikf c0feae0459
fix(curriculum): rework Project Euler 99 (#42310)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve math notation look
2021-05-31 18:51:13 -05:00
gikf a7556a82d5
fix(curriculum): rework Project Euler 95 (#42255) 2021-06-01 01:52:05 +05:30
Shaun Hamilton 6f65591ec9
fix(curriculum): add strict versioning to adnode (#42297) 2021-06-01 01:51:33 +05:30
gikf 42ff4307ba
fix(curriculum): rework Project Euler 94 (#42243)
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-05-31 23:04:05 +05:30
gikf b765237f38
fix(curriculum): rework Project Euler 89 (#42219)
* 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>
2021-05-31 23:03:33 +05:30
Renovate Bot 0e05584768 chore(deps): update dependency acorn to v8.3.0 2021-05-31 09:46:59 +00:00
camperbot 6e661efe17
chore(i18n,curriculum): update translations (#42298) 2021-05-31 09:57:24 +02:00
renovate[bot] 6100e80b20
chore(deps): update dependency ws to 7.4.6 [security] (#42303)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-30 10:43:39 +05:30
Rebekah Koon 5a3d22e76b
fix(curriculum): changing Charles -> Ada in JavaScript challenge descriptions (#42280)
* changing Charles -> Ada in JavaScript challenge descriptions

* fix: changing Charles -> Ada in JavaScript challenge descriptions

* fix: changing firstName value from Ada to Augusta in javascript lesson
2021-05-29 21:33:21 +05:30
Renovate Bot c966823920 chore(deps): update babel monorepo to v7.14.4 2021-05-28 20:06:23 +00:00
camperbot f146e5221a
chore(i18n,curriculum): update translations (#42290) 2021-05-28 11:40:43 -07:00
gikf cf567f4a76
fix(curriculum): rework Project Euler 97 (#42276)
* 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>
2021-05-27 21:38:56 +02:00
gikf c3eddec05a
fix(curriculum): rework Project Euler 88 (#42206)
* fix: rework challenge to use argument in function

* fix: use MathJax to improve math notation

* fix: position block evenly between paragraphs

* fix: add solution
2021-05-27 21:37:38 +02:00
gikf a184b10433
fix(curriculum): rework Project Euler 92 (#42233)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: position examples evenly between paragraphs

* fix: use MathJax for math notation
2021-05-27 10:46:20 -07:00
gikf 2b1d0cdaf8
fix(curriculum): rework Project Euler 91 (#42224)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve math notation
2021-05-27 10:27:16 -07:00
suburban-daredevil d70b17bca7
feat(curriculum): update handleclick method to use state function (#42225)
* Updated the handleClick method to use updater function in react tutorial english

* Update comments in the seed code of curriculum/challenges/english/03-front-end-libraries/react/render-conditionally-from-props.md

Changing comments in the seed code according to the list of [agreed-upon comments](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/dictionaries/english/comments.json)

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-05-27 18:42:55 +02:00
gikf 2f901f9ffe
fix(curriculum): rework Project Euler 87 (#42194)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: position equations evenly between paragraphs
2021-05-27 13:14:40 +05:30
camperbot 587f89b1d7
chore(i18n,curriculum): processed translations (#42258) 2021-05-26 20:00:54 +05:30
gikf 8ac8772da1
fix(curriculum): rework Project Euler 86 (#42189)
* fix: rework challenge to use argument in function

* fix: add solution
2021-05-26 14:22:42 +05:30
KowalewskiPawel 057eb0cf2a
fix(curriculum): Typo correction in defaultSrc: ["'self'"] (#42220)
Missing a single quote resulting may be misleading for some of the students.
2021-05-25 23:18:08 +04:00
Luca 09b62480f2
fix(curriculum): remove duplicated test (#42247) 2021-05-25 23:15:11 +04:00
Prashant edf9989e59
fix: Typo in "Convert seconds to compound duration" (#42248)
* fix: Typo in "Convert seconds to compound duration"

* fix: spacing

Co-authored-by: PrashantSakre <prashantsakre@Prashants-mac-mini.local>
2021-05-25 23:13:18 +04:00
Shaun Hamilton d5cc9ba259
feat(dev): add css helper function (#42148)
* feat(dev): add css helper function

* add media declaration methods

* use a selector to grab styles

* add CSSHelp class with annoying TS warnings (no-verify)

* replace indexing with getPropertyValue

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* connect CSSHelp to helpers, clean up types

* fix: return extended object, not modify prototype

* fix: unnecessary assertion error

* add tests with fixtures

* add afterAll document clean-up

* 'fix' tests

* undo jest transform config

* remove erroneous comments and logs

* reafactor: use existing types and narrow types

* refactor test descriptions

* rename files to appease Mrugesh 😄

* remove probably unnecessary document clean

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-25 07:34:55 -07:00
etlioglu 8b73920487
fix(curriculum): add items using splice verbiage
"The second entry of `12` is removed" is changed to "The second occurrence of `12` is removed". I believe the phrase "second entry" might create confusion as the readers might think of the second entry of the array rather than the second occurrence of the array element 12.
2021-05-24 13:33:25 -07:00
gikf 7faa168761
fix(curriculum): rework Project Euler 85 (#42181)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: grammar
2021-05-24 23:13:58 +05:30
gikf 399281f225
fix(curriculum): rework Project Euler 84 (#42161) 2021-05-24 23:13:34 +05:30
camperbot bd69e00480
chore(i18n,curriculum): update translations (#42191) 2021-05-24 09:42:08 +02:00
Renovate Bot 4714e033c8 chore(deps): update dependency jsdom to v16.6.0 2021-05-23 22:25:24 +00:00
Halu89 1018f91535
fix(curriculum): check for correct method in test (#42214)
I don't know how the code runs from here, but I'm assuming it should be the correct method now
2021-05-22 10:58:35 +02:00
Seth Falco 4d024f3e4b
fix(curriculum): css and html test issues (#42045)
* fix: css and html issues

* fix: issues with css test

* fix: allow spaces in solution css

* fix: css tests for use-rgb-to-mix-colors
2021-05-21 12:18:42 +01:00
camperbot 938e5913fa
chore(i18n,curriculum): update translations (#42187) 2021-05-19 19:20:10 +02:00
alirezaghey 777c508f82
fix(curriculum): small english improvement (#42173)
* fix(curriculum): small english improvement

* fix(curriculum): small english improvement

Co-authored-by: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

Co-authored-by: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
2021-05-18 14:42:05 -07:00
Sem Bauke f3e8a0f0c2
fix(curriculum): clarify Check if an Object has a Property (#42156)
* fix: clarify Check if an Object has a Property

* fix: give extra clarity on object checking
2021-05-18 20:36:53 +04:00
camperbot 18ccc3bd34
chore(i18n,curriculum): processed translations (#42178) 2021-05-18 07:27:23 -07:00
gikf 0f0a1f4801
feat(curriculum): add solution (#42149)
* fix: ensure using in test arrays from background

* feat: add solution

* fix: improve description
2021-05-18 14:26:54 +09:00
gikf 86d50dc093
feat(curriculum): add solution (#42146)
* fix: ensure using in test arrays from background

* feat: add solution

* fix: improve description
2021-05-18 14:12:56 +09:00
Renovate Bot df6a98fe90 chore(deps): update babel monorepo to v7.14.3 2021-05-17 23:19:16 +00:00
alirezaghey 7fb1b142e3
fix(curriculum): small english improvement (#42167) 2021-05-17 15:53:15 -05:00
renovate[bot] d14f53f463
chore(deps): pin dependencies (#42168)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-18 01:19:29 +05:30
Oliver Eyton-Williams 66dae77fc5
feat: use TypeScript in the client (#42124) 2021-05-18 00:23:41 +05:30
gikf 1ab5139c51
feat(curriculum): add solution (#42130)
* 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>
2021-05-17 12:43:17 -05:00
camperbot 3d91eae3e5
chore(i18n,curriculum): processed translations (#42162) 2021-05-17 19:00:24 +05:30
camperbot 3fe039248c
chore(i18n,curriculum): processed translations (#42151) 2021-05-17 11:31:56 +02:00
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
Oliver Eyton-Williams 1c1d86922c
refactor: simplify jest config (#42136)
* refactor: bring api jest tests to root

* refactor: pull client tests to root

* fix: remove ancient curriculum babelrc

* feat: run all jest tests at once

* fix: remove unused babelrcRoot

* chore: remove more jests
2021-05-16 18:08:04 +05:30
camperbot 0596e2749a
chore(i18n,curriculum): update translations (#42147) 2021-05-15 18:01:37 +02:00
alirezaghey cbb7afd5b8
fix(curriculum): correct link text (#42143)
* Small language improvement

The correct term is assignment operator.

* Small language improvement

Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>

Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
2021-05-15 17:10:19 +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
alirezaghey 79e799feb5
fix(curriculum): scoping variables language improvement (#42135) 2021-05-14 09:02:54 -07: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
Renovate Bot ba7ffbd6cc chore(deps): update babel monorepo to v7.14.2 2021-05-13 00:13:19 +00:00
Aung Myat Min fd6b32a3c5
fix(curriculum): typos in D3 challenge (#42116)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-05-12 23:03:28 +01:00
Niraj Nandish d820b2a0cd
fix(curriculum): Update wording of test in 'Add Methods After Inheritance' (#42112)
* fix: Update wording of test in 'Add Methods After Inheritance'

* fix(curriculum): Correct grammar of test description

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-05-12 11:25:05 -07:00
camperbot 7aaa365393
chore(i18n,curriculum): processed translations (#42115) 2021-05-12 21:25:58 +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
Usama Ali 5f33051a92
fix(curriculum): typo for using zombie.js (#42090) 2021-05-11 06:12:40 +02:00
renovate[bot] 21dd80c47a
chore(deps): update dependency prettier to v2.3.0 (#42074)
* chore(deps): update dependency prettier to v2.3.0

* chore: apply formating per prettier

* fix: correctly disable import/no-unresolved

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-10 08:48:49 -07:00
camperbot 994c2a1ce2
chore(i18n,curriculum): update translations (#42080) 2021-05-10 16:18:45 +02:00
camperbot 253f30b205
chore(i18n,curriculum): update translations (#42070) 2021-05-09 21:42:02 +02:00
renovate[bot] 5e8a64e62c
chore(deps): update dependency hosted-git-info to 2.8.9 [security] (#42056)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-08 00:30:12 +05:30
Renovate Bot 9911911936 chore(deps): update dependency mocha to v8.4.0 2021-05-07 18:11:21 +00:00
camperbot 44dc4f6788
chore(i18n,curriculum): update translations (#42022) 2021-05-06 08:11:14 -07:00
renovate[bot] 5c6fe6ed91
chore(deps): update dependency puppeteer to v9 (#41881)
chore(deps): update dependency puppeteer to v9
2021-05-06 19:09:27 +05:30
Sem Bauke 607b1c3dbf
fix(curriculum): look for possible www link in regex (#41955)
* fix(curriculum): look for possible www. link in regex

* 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-06 10:06:33 +05:30
gikf f42e4292ad feat: add solution 2021-05-06 04:26:22 +05:30
Nicholas Carrigan (he/him) 3da4be21bb
chore: seed chinese traditional (#42005)
Seeds the chinese traditional files manually so we can deploy to
staging.
2021-05-05 22:43:49 +05:30
renovate[bot] 4ace78e0f7
chore(deps): pin dependencies (#42002)
chore(deps): pin dependencies
2021-05-05 20:52:14 +05:30
camperbot a067bd15a1
chore(i18n,curriculum): update translations (#42001) 2021-05-05 08:09:17 -07:00
Oliver Eyton-Williams be19823422 chore(deps): update joi and joi-objectid 2021-05-05 18:12:50 +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
Renovate Bot 340e06db5d chore(deps): update dependency acorn to v8.2.4 2021-05-05 03:19:48 +00:00
Renovate Bot f5a9251f5e chore(deps): update babel monorepo to v7.14.1 2021-05-05 00:17:08 +00:00
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
camperbot d27b53dcb2
chore(i18n,curriculum): update translations (#41957) 2021-05-02 21:17:31 +02:00
renovate[bot] df1cc921a0
chore(deps): update dependency acorn to v8.2.2 (#41961)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-02 20:34:43 +05:30
Renovate Bot 31a69ea685 chore(deps): update babel monorepo to v7.14.0 2021-05-01 16:09:10 +00:00
Sem Bauke 9c28a2300a
fix(curriculum): look for inlined filter function (#41953) 2021-04-30 20:55:16 +01:00
Oliver Eyton-Williams 2eac236e39
fix: remove JS comments revisited (#41952)
* fix: restrict removeJSComments to test-evaluator

To prevent @babel from being included everywhere, this only calls
removeJSComments inside the test-evaluator

* test: add removeJSComments test
2021-04-30 22:30:06 +03:00
camperbot 2762d4b8e5
chore(i18n,curriculum): update translations (#41945) 2021-04-29 08:43:46 -07:00
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
Oliver Eyton-Williams 9be2fb9a10
fix: use lodash-es in the client (#41931) 2021-04-28 16:11:20 -05: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
camperbot 0296abbea6
chore(i18n,curriculum): processed translations (#41939) 2021-04-28 18:43:20 +05:30
sjc5 a0463d2c99
fix: insert missing forward-slash in instructions (#41934)
inserted forward-slash in closing 'sup' tag in instructions section
2021-04-28 08:07:43 +02: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
Shaun Hamilton 55a1b2a5bf
fix(curriculum): allow adnode regex test for multi-line (#41929) 2021-04-28 00:07:12 +05:30
Shaun Hamilton 315bfb07f1
fix(curriculum): remove inaccessible fields from anon test (#41932) 2021-04-28 00:05:23 +05:30
camperbot 9bc80ce293
chore(i18n,curriculum): processed translations (#41928) 2021-04-27 17:16:44 +02:00