Commit Graph

1727 Commits

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