Commit Graph

2975 Commits

Author SHA1 Message Date
Juan Alberto González
98a0d3ecd2 correcting typo adaquate = adequate (#44906) 2022-01-25 17:15:58 -06:00
camperbot
b115049ee2 chore(i18n,learn): processed translations (#44880) 2022-01-26 02:55:03 +09:00
Oliver Eyton-Williams
7216ca55cc refactor: organise TypeScript config and migrate helpers (#44747)
* feat: allow more 1000 steps to be created at once

* refactor: start migrating to typescript

* refactor: delete-step to ts

* refactor: migrated some helpers

* refactor: migrate create-empty-steps

* refactor: migrate create-step-between

* refactor: finish migrating to TS

* refactor: migrate tests

* fix: ensure mock.restore is done after each test

* fix: prevent double-tscing

* fix: repair the tests

* chore: use ts-node for scripts

We don't need the performance boost of incremental compilation and
ts-node is easier to work with

* refactor: consolidate tsconfigs

* refactor: replace gulp

* fix: use ts-node for build-curriculum

* fix: allow ts compilation of config

* feat: create and use create:config script

* fix: add /config to eslint projects

* fix: remove gulp script
2022-01-25 11:34:16 +01:00
Yossi Rise
6ec6e7eaa5 fix(curriculum): update challenge tests to pass a valid solution (#44800)
* allow tests to pass when styles object's fontSize property is set to a string

* Update curriculum/challenges/english/03-front-end-development-libraries/react/add-inline-styles-in-react.md

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

* Update curriculum/challenges/english/03-front-end-development-libraries/react/add-inline-styles-in-react.md

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-01-24 23:40:52 +00:00
Matt
fba519621a fix(curriculum): added test using a tree that is not a binary search tree (#44775) 2022-01-24 19:33:03 +00:00
Oliver Eyton-Williams
cacc4eacd7 fix: handle the sorting of transformed files (#44724)
* fix: handle the sorting of transformed files

We can't use the ext property, since that is transformed, but the
history is maintained.

* test: make solutions polyVinyls for sorting

* refactor: inline prepareChallenge

* refactor: make solutions polys in getChallenges

* fix: convert each solution to a poly

* fix: skip empty solutions

* fix: get challenge file history in client

* refactor: stop calling isPoly from the client

* fix: remove debug console.log

* refactor: remove unnecessary sorting step
2022-01-24 10:42:27 -08:00
Oliver Eyton-Williams
b1fb6adc39 fix: insert user html more consistently (#42195)
* fix: use an iframe to preserve head and body

* fix: remove unnecessary parsing of html

The contents gets inserted into the DOM during transformHtml, which
is always part of the build pipeline

* fix: pipe contents through iframe

* refactor: use the same code for both transforms

* fix: try to handle test errors better

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-01-24 18:02:25 +00:00
Renovate Bot
71ef222473 chore(deps): update dependency mocha to v9.2.0 2022-01-24 12:26:36 +00:00
Renovate Bot
5e60c14a4d chore(deps): update babel monorepo to v7.16.12 2022-01-22 20:52:45 +00:00
Anmol Pandita
2abfa63738 fix(curriculum): typo on step 43 2022-01-22 19:03:23 +01:00
camperbot
43a2a0a395 chore(i18n,learn): processed translations (#44866) 2022-01-23 00:08:20 +09:00
Darshan Vaishya
59f21b1d8f fix(curriculum): improve instructions in rothko-painting (#44816)
* Improved instructions in rothko painting lesson

* Removed duplicate line in step 42

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-012.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-014.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-015.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-021.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-022.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-034.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-041.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-042.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-044.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-045.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-020.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-014.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting/step-034.md

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2022-01-21 14:31:41 +01:00
camperbot
5c868af2b8 chore(i18n,learn): processed translations (#44851) 2022-01-20 20:30:18 +01:00
renovate[bot]
92517202bd chore(deps): update babel monorepo (#44846)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 22:47:05 +05:30
Ikko Ashimine
5aaf8677d4 chore: fix typo in step-010.md (#44807)
targetting -> targeting
2022-01-20 09:18:07 +01:00
Jason Barry
357b4802fd fix: update wording in description (#44842) 2022-01-20 09:13:35 +01:00
Aakash Pal
1c56d4cdda fix: remove double space (#44837)
* fix: typo in javascript-algorithms-and-data-structures > object-oriented-programming > understand-own-properties

* revert all the files with translations

* fix last commit error and remove changes from translated files
2022-01-19 22:19:43 +00:00
Chris Castle
9c800526a7 fix: correct typo in 'targetting' - line 12 (#44823) 2022-01-19 13:36:32 +01:00
Glenn Lanzer
9848b05458 Fix (curriculum): wording (#44815) 2022-01-18 08:54:23 -06:00
Mário Pereira
ce9bd6ddbd fix(curriculum): remove redundant class in bootstrap description (#44812) 2022-01-18 10:11:10 +00:00
SaarthakMaini
6f30720715 fix(curriculum): improve wording (#44799) 2022-01-17 22:02:13 +07:00
camperbot
ea344a5f9b chore(i18n,learn): processed translations (#44805) 2022-01-17 14:35:14 +00:00
Jim Kernicky
401cd86076 fix(curriculum): move img tag to editable region (#44804)
* Step 24: moved img tag to editble region

* Indented img tag

Co-authored-by: “Jim” <“jimkernicky@gmail.com”>
Co-authored-by: "Krzysztof G." <"60067306+gikf@users.noreply.github.com">
2022-01-17 14:36:18 +01:00
Nicholas Carrigan (he/him)
8954449625 feat: refactor the refactor challenge (#44770) 2022-01-17 09:57:15 +01:00
camperbot
fd9c68ceef chore(i18n,learn): processed translations (#44797) 2022-01-16 20:30:34 +01:00
sidemt
d5543cd692 fix(curriculum): fix casing of Dense keyword (#44791) 2022-01-15 18:56:45 +01:00
Renovate Bot
6bd7ed6a50 chore(deps): update dependency mocha to v9.1.4 2022-01-14 22:36:42 +00:00
camperbot
e368739827 chore(i18n,learn): processed translations (#44777) 2022-01-14 09:43:16 -08:00
Muhammad Al-Habib Ouadhour
8f8a2cc0c5 feat(curriculum): add tests to anonymous-message-board (#43041)
* Add 5th test to the Anonymous Message Board project challenge from InfoSec

* (fix curriculum) Add all the required tests by the Anonymous Message Board Project.

* Confirms the camper has written at least an assert statement in the test.

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

* chore: success -> reported

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2022-01-13 22:38:05 +02:00
Matt
1fc0b73c3d fix(curriculum): add another element in test to ensure correct implementation of class (#44766) 2022-01-13 11:41:29 -08:00
mdSrq
d53a457fc2 Fix typo mentioned in issue #44761 (#44768) 2022-01-12 21:35:28 -08:00
Shaun Hamilton
ef417c95f9 fix(curriculum): make english to i18n easier (#44711) 2022-01-12 10:03:26 -06:00
camperbot
55275ab034 chore(i18n,learn): processed translations (#44765) 2022-01-12 06:40:05 -08:00
Juan Alberto González
9655cd26a1 fix(curriculum): typo in cat photo app (#44757) 2022-01-12 11:08:37 +01:00
Renovate Bot
e3aad41cef chore(deps): update babel monorepo to v7.16.9 2022-01-12 02:13:59 +00:00
camperbot
b7496d96dd chore(i18n,learn): processed translations (#44750) 2022-01-11 08:57:22 -08:00
Etkesmeci
43f970aa3f fix(curriculum): Additional clarification in hint (#44746) 2022-01-11 15:32:37 +01:00
Renovate Bot
057f8bdd21 chore(deps): update babel monorepo to v7.16.8 2022-01-11 02:37:34 +00:00
Thomas Albertini
b2a251fff0 fix: small lint fix in challenges functions (#44728)
* fix: small lint fix in challenges functions

* Revert "fix: small lint fix in challenges functions"

This reverts commit cde43d4d86.
2022-01-10 15:57:22 -08:00
Shaun Hamilton
ebc4fa273e fix(curriculum): remove obnoxious, bloated library use (#44737) 2022-01-10 18:38:49 +05:30
Jim Kernicky
09a41ccd38 fix(curriculum): typos in building-a-piano (#44729)
* fix(curriculum): typos in BETA  Piano Build section

* Added back the id and class characters

Co-authored-by: “Jim” <“jimkernicky@gmail.com”>
2022-01-10 13:35:59 +01:00
camperbot
cb8e66cbb2 This PR was automagically generated by Crowdin. (#44733) 2022-01-09 15:06:03 +01:00
Reuben Menezes
72d989c681 fix(curriculum): correct spelling error (#44727)
Changed the incorrect spelling (rbg) to the correct spelling (rgb)
2022-01-09 07:11:18 +01:00
Jim Kernicky
3416a4adef fix(curriculum): typos in balance-sheet (#44693)
Co-authored-by: “Jim” <“jimkernicky@gmail.com”>
2022-01-08 15:53:47 +00:00
Etkesmeci
9cbd7f3b28 fix(curriculum): "locaton" changed to "location" (#44717) 2022-01-07 19:15:11 +01:00
camperbot
bf750f6629 This PR was automagically generated by Crowdin. (#44712) 2022-01-07 17:55:41 +01:00
Etkesmeci
82c4bf9556 fix(curriculum): possible typo and simplification (#44704)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2022-01-07 16:36:49 +05:30
HiddenOgre28
aa0ae1ae67 fix(curriculum): add a function call to seed contents (#44512) 2022-01-07 16:34:59 +05:30
Oliver Eyton-Williams
87f5cff3cd fix(client): get jquery from cdn (#44421)
* fix: ensures jquery exists for those challenges

For tests frame-runner.js imports jquery, but jquery challenges always
need it

* Revert "Revert "fix: only include frame-runner when running tests (#44337)" (#44419)"

This reverts commit c19bf504b8.
2022-01-07 10:42:27 +00:00
HiddenOgre28
5ffcd0f284 feat(curriculum): add log with function call to challenge (#44195)
* fix (Curriculum) Added a log statement

Added a log statement to the seed's content, referencing the function countOnline with a sample object as argument.
The user should be able to see the result of the function printed out on the console as soon as it is ran, and it should be easier to understand what is being outputed by the function in this challenge.

* Added examper users object
2022-01-07 14:37:02 +05:30