Commit Graph

1687 Commits

Author SHA1 Message Date
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
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
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
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
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
alirezaghey
7fb1b142e3 fix(curriculum): small english improvement (#42167) 2021-05-17 15:53:15 -05:00
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
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
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
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
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
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
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
Sem Bauke
9c28a2300a fix(curriculum): look for inlined filter function (#41953) 2021-04-30 20:55:16 +01: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
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
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
Tom
093325abdf fix(curriculum): tabindex order lesson (#41901)
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-04-27 00:55:28 +05:30
EboranBokaj
e45689d495 fix(curriculum): HTML-challenges: links are inconsistent. (#41900)
Co-authored-by: Ilenia <nethleen@gmail.com>
2021-04-26 22:34:53 +05:30
Tom
6be76738b0 fix(curriculum): import a google font lesson regex test (#41907) 2021-04-24 12:43:55 +02:00