Commit Graph

2291 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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