Commit Graph

2866 Commits (b320532f8fd573f1bae813d8b2d089e169699616)

Author SHA1 Message Date
camperbot 9f9fb63caa
chore(i18n,curriculum): processed translations (#44193) 2021-11-17 19:50:53 +05:30
camperbot 383bafa064
chore(i18n,curriculum): update translations (#44186) 2021-11-17 12:53:39 +01:00
Tom 21be9df82a
feat: add/rename md files for new RDBMS tutorials (#44132)
* feat: split RDBMS tutorial into two parts

* fix: update challenges across the rest of the languages
2021-11-16 21:35:59 +00:00
camperbot e56c75ba68
chore(i18n,curriculum): update translations (#44177) 2021-11-15 20:10:48 +05:30
renovate[bot] 9dc35e4397
chore(deps): pin dependency @types/node to 16.11.7 (#44173)
* chore(deps): pin dependency @types/node to 16.11.7

* chore: install @types/node in tools

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-15 15:26:55 +05:30
camperbot dceb27236e
chore(i18n,curriculum): processed translations (#44171) 2021-11-12 16:35:39 +01:00
camperbot 85359ed00a
chore(i18n,curriculum): update translations (#44159) 2021-11-11 21:32:39 +05:30
Alessia Vanni 9cd5f5f00e
chore(curriculum): add instructions 07 (#44152)
* Update polygon-area-calculator.md

* Update probability-calculator.md

* Update time-calculator.md

* Apply suggestions from code review

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

* Apply suggestions from code review

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-11-10 23:02:33 +01:00
camperbot 385ed3a695
chore(i18n,curriculum): update translations (#44154) 2021-11-10 08:27:30 -08:00
renovate[bot] 6feeaa289b
fix(deps): update dependency @types/react-dom to v17.0.11 (#44107)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 20:17:39 +05:30
Alan Luo 419b3b3719
fix(curriculum): Fix a typo in 10-coding-interview-prep/rosetta-code/subleq (#44133)
* Fix a typo

* Fix more new line issues
2021-11-09 12:52:37 -06:00
camperbot b0165ad25d
chore(i18n,curriculum): update translations (#44140) 2021-11-09 18:15:00 +00:00
Nicholas Carrigan (he/him) 229fa686ca
feat(curriculum): css ferris wheel (#43460)
* feat: initial infra

* feat: initial step breakdown

* feat: expand instructions

* feat: write tests!

* chore: apply shaun's review suggestions

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

* chore: more tweaks

* chore: ferris → Ferris

* chore: apply shaun's review suggestions

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

* fix: no lang

* chore: fix lint issues

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-09 18:03:21 +00:00
camperbot 4c88fcdc69
chore(i18n,curriculum): update translations (#44139) 2021-11-07 07:23:44 -08:00
camperbot 9385d7997b
chore(i18n,curriculum): update translations (#44138) 2021-11-06 08:56:52 -07:00
Alessia Vanni 19259d76d4
chore(curriculum): add instructions (#44125)
* Update budget-app.md

Branch to address the issue [ i18n: Python projects' instructions are not translatable #43836](https://github.com/freeCodeCamp/freeCodeCamp/issues/43836)

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

Co-authored-by: Ilenia <nethleen@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-11-05 19:12:38 +01:00
camperbot 3dc810ffb8
chore(i18n,curriculum): update translations (#44122) 2021-11-04 15:53:18 +01:00
Kolja Markwardt a961b2c032
fix(curriculum): use CSSHelper for grid-template-columns (#43982) 2021-11-04 09:24:18 +01:00
camperbot 18a239e9a1
chore(i18n,curriculum): update translations (#44114) 2021-11-03 08:22:32 -07:00
Nicholas Carrigan (he/him) 98fe099ef7
chore: python demo (#43854) 2021-11-03 12:30:00 +00:00
Mrugesh Mohapatra 0b79725a9e
chore(deps): apply npm audit fix on all packages (#44108)
chore(deps): apply npm audit fix on all packages
2021-11-03 16:26:50 +05:30
Mrugesh Mohapatra 466f39794b chore: update all lockfiles to v2 2021-11-03 15:06:19 +05:30
Mrugesh Mohapatra 6fef483946 chore: update all packages to node v16 & npm v8 2021-11-03 15:06:19 +05:30
Nicholas Carrigan (he/him) 0d33dff597
feat: nutrition label (#43852)
* feat: initial infra

* feat: break down steps

* feat: tests 1-30

* feat: tests 31 to end

* chore: apply gikf's review suggestions

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

* feat: actually testing things helps

* chore: apply review suggestions

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

* chore: take the part, put it in a step

* chore: apply shaun's review suggestions

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

* chore: missed one

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

* chore: clarify verbiage

Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-11-03 09:13:47 +01:00
camperbot 12a0ce697a
chore(i18n,curriculum): update translations (#44101) 2021-11-02 15:09:55 +00:00
Ikko Ashimine f163a77fe5
fix(curriculum): typo in accessibility-quiz step-046.md (#44087)
targetting -> targeting
2021-11-01 16:14:22 +00:00
camperbot c2572b314d
chore(i18n,curriculum): processed translations (#44086) 2021-11-01 15:38:37 +01:00
camperbot e9512cb968
chore(i18n,curriculum): update translations (#44072) 2021-11-01 11:38:44 +05:30
Aishwary Shukla cf6e545b03
fix(curriculum): change user story to match test suite (#44076)
* Solving issue #44068 

Eliminated the difference between project’s stated requirements in own page and in widget on codepen

* Update build-a-tribute-page.md
2021-10-31 08:18:29 +01:00
Renovate Bot 9419bdfed4 chore(deps): update babel monorepo to v7.16.0 2021-10-30 05:41:50 +00:00
Michał Urbanek 9920b7c83c
fix(curriculum): point to all lines requiring change (#44056)
* fix comments for which place to edit

 solution should be placed in this line, previous comments was missleading.
as discussed in https://github.com/freeCodeCamp/freeCodeCamp/issues/44049

* shorter comments

clear of not needed ward Only

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/declare-a-read-only-variable-with-the-const-keyword.md

letter fixes

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

* fix for spelling of Change

only letter change

* fix for italian language

all other languages

* revert

revert of changes that will be done in other place

* revert

Co-authored-by: Ilenia <nethleen@gmail.com>
2021-10-29 12:37:01 +02:00
Nicholas Carrigan (he/him) cb5244be73
feat: css magazine (#43507)
* feat: initial infrastructure

* feat: html steps done

* feat: through step 50

* feat: complete steps

* feat: write tests

* chore: apply gikf's review suggestions

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

* chore: use correct alt text

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

* fix: image size

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

* feat: add temporary width

* chore: apply sem's review suggestions

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

* chore: missed one

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

* chore: apply kris' review suggestions

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* chore: no text walls

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* chore: walls of text

* chore: remaining review suggestions

* chore: apply shaun's review suggestions

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

* fix: linting index.md

* chore: lang tags

* feat: clarify noreferrer

* feat: clarify lazy loading

* chore: apply shaun's review suggestions

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

* fix: note about justify

* fix: split step 7

* fix: hero title

* chore: parts are secretly steps

* chore: apply tom's review suggestions

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

* chore: missed one

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

Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-10-28 14:31:12 -05:00
camperbot 897f01a92d
chore(i18n,curriculum): update translations (#44047) 2021-10-28 16:04:40 +01:00
Nicholas Carrigan (he/him) 2868347742
feat: css photo gallery (#43602)
* feat: initial infra

* feat: create steps

* feat: prototype tests

Haven't tested locally yet :)

* feat: complete tests

* feat: move image size step

* chore: apply shaun's review suggestions

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

* chore: apply kris' review suggestions

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* fix: index.md linting

* chore: steps are parts in disguise

* chore: apply tom's review suggestions

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

* fix: colon to period

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-10-27 13:40:44 -05:00
camperbot c1fb339bbc chore(i18n,curriculum): update translations 2021-10-27 21:47:35 +05:30
Oliver Eyton-Williams e139fbcf13 test: update *test* grammar
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-10-27 21:29:05 +05:30
Oliver Eyton-Williams 8538141600 fix: grammar
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-10-27 21:29:05 +05:30
Oliver Eyton-Williams f6999fa8bb test: extract-js-comments error 2021-10-27 21:29:05 +05:30
Oliver Eyton-Williams 3e5cffba0f fix: throw better error when JS parse fails
This should help debugging challenges with invalid syntax.
2021-10-27 21:29:05 +05:30
Oliver Eyton-Williams da9e6ad0c1 fix(curriculum): consts must be initialized 2021-10-27 19:42:45 +05:30
LK521 df3d043fed
fix(curriculum): change note in problem 14 (#44015) 2021-10-26 12:51:24 +02:00
Krzysztof e3822b9cac
fix(curriculum): test removing non-existing element from empty and non-empty tree (#43885)
* fix: test removing element not in a tree

* fix: test removing from empty tree
2021-10-25 23:07:12 -05:00
Ilenia 409399c272
fix(curriculum): simplify challenge "Access Props Using this.props" (#43840)
* simplify access props using this.props challenge

* trying to make the test pass

* change description access props challenge

* Update curriculum/challenges/english/03-front-end-development-libraries/react/access-props-using-this.props.md

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

* delete test

* Update curriculum/challenges/english/03-front-end-development-libraries/react/access-props-using-this.props.md

Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
2021-10-25 15:08:10 -07:00
Kristofer Koishigawa bcc9beff1f
feat(curriculum): introduce let and const earlier (#43133)
* fix: move "Explore Differences Between..." to basic JS, update seed and tests

* fix: resequence "Declare String Variables"

* fix: move "Declare a Read-Only Variable..." to basic JS, update seed and tests

* fix: revert changes to non-English "Explore Differences Between..." test text

* fix: revert test strings, solutions, and seeds for non-English challenges

* fix: update "Declare String Variables" description

* fix: sync quotation marks in description and seed

* fix: modify note in "Declare a Read-Only..." challenge

* fix: update operator and compound assignment challenges

* fix: update string challenges

* fix: update array and array method challenges

* fix: update function and scope challenges, resequence slightly

* fix: "Word Blanks" solution

* fix: add spacing to seed

* fix: concatenating += challenge spacing

* fix: appending variables to strings spacing

* fix: find the length of a string spacing

* fix: removed instances of removedFromMyArray = 0

* fix: switch challenges

* fix: function argument and param spacing

* fix: update counting cards, object challenges, and record collection

* fix: finish rest of Basic JS section

* fix: introducing else statements solution

* fix: update spacing and wording

* fix: update wording for const challenge

* fix: update functional programming challenges

* fix: intermediate algorithms and cert challenges

* fix: revert some spacing and remove comments for fp challenge solutions

* feat: add notes with links to moved let and const challenges in first two es6 challenges

* fix: update es6 intro text

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-the-plus-equals-operator.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/finding-a-remainder-in-javascript.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/global-scope-and-functions.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/iterate-through-an-array-with-a-for-loop.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/iterate-through-an-array-with-a-for-loop.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/declare-a-read-only-variable-with-the-const-keyword.md

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

* fix: concatenating strings with plus operator seed

* fix: add comments back to Declare a Read-Only Variable... seed

* feat: add es6 to basic javascript redirect tests for let and const challenges

* fix: revert "Concatenating Strings with Plus Operator" seed

* fix: move test file to cypress/integration/learn/redirects, separate redirect tests

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-10-25 17:55:58 +01:00
camperbot 71b555ab16
chore(i18n,curriculum): update translations (#43998) 2021-10-25 18:08:03 +02:00
Anurag Gupta f90dc7d903
fix(curriculum): update challenge to heading tags instead of headers (#43429)
* header changed to heading tag

* fix: Exercise about heading tags <h1> ... <h6>, accidentally refers to header tags

* fix: changed header to heading on pages affected

* Update curriculum/challenges/_meta/applied-visual-design/meta.json

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

* Update curriculum/challenges/english/01-responsive-web-design/applied-accessibility/use-headings-to-show-hierarchical-relationships-of-content.md

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

* Update curriculum/challenges/english/01-responsive-web-design/applied-accessibility/use-headings-to-show-hierarchical-relationships-of-content.md

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

* Update curriculum/challenges/english/01-responsive-web-design/applied-accessibility/use-headings-to-show-hierarchical-relationships-of-content.md

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

* Update curriculum/challenges/english/01-responsive-web-design/applied-accessibility/use-headings-to-show-hierarchical-relationships-of-content.md

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

* Update curriculum/challenges/english/01-responsive-web-design/applied-accessibility/use-headings-to-show-hierarchical-relationships-of-content.md

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

* Update curriculum/challenges/english/01-responsive-web-design/basic-html-cat-photo-app/part-002.md

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

* Update curriculum/challenges/english/01-responsive-web-design/applied-visual-design/adjust-the-size-of-a-header-versus-a-paragraph-tag.md

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

* Update curriculum/challenges/english/01-responsive-web-design/applied-visual-design/adjust-the-size-of-a-header-versus-a-paragraph-tag.md

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

* file renamed

* dashed-name changed for all languages

* made changes in all the challenges

* file title changed

* added cypress test

* cypress test added

* Update cypress/integration/learn/redirects/heading-challenge.js

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

Co-authored-by: Ilenia <nethleen@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
2021-10-25 16:17:54 +01:00
camperbot 33c095a415
chore(i18n,curriculum): update translations (#43988) 2021-10-25 09:26:40 +05:30
Nicholas Carrigan (he/him) 6b0f9be393
chore: remove erroneous files (#43959) 2021-10-22 09:38:06 +02:00
Nicholas Carrigan (he/him) b36cdbafd1
chore: rename "part" to "step" (#43934)
* chore: rename part to step

* chore: update metas

* chore: more renaming

* chore: update tooling

* chore: update frontmatter

* chore(tools): title testing
2021-10-21 18:07:52 +01:00
camperbot 73b913f651
chore(i18n,curriculum): update translations (#43957) 2021-10-21 13:31:07 +00:00
Nicholas Carrigan (he/him) f08b6a9eb4
chore: remove accidental challenges (#43948) 2021-10-20 21:27:12 +01:00
camperbot e24b133aaf
chore(i18n,curriculum): update translations (#43931) 2021-10-19 21:08:08 +00:00
Timur d3e00ff05e
fix(curriculum): add note about dotenv package (#43877)
* Add NOTE about dotenv package

* Update note about `dotenv`

* Update curriculum/challenges/english/05-back-end-development-and-apis/basic-node-and-express/use-the-.env-file.md

Commit reviewer's suggestion

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

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-10-18 14:31:16 -07:00
Nishant Shah a927257e1d
fix(curriculum): update text of a challenge (#43891) 2021-10-18 18:42:42 +02:00
camperbot 0654bd92b0
chore(i18n,curriculum): update translations (#43881) 2021-10-18 08:17:43 -07:00
Renovate Bot 9ddb30b92d chore(deps): update dependency mocha to v9.1.3 2021-10-15 09:31:57 +00:00
Shaun Hamilton 4a605c5cd2
feat(curriculum): add registration form practice project (#42876)
* feat(curriculum): add registration-form practice project

* add parts 001-006

* add parts 007-009

* add parts 010-013

* add parts 014-024, fix 013

* add parts 025-043

* add parts 043-046

* add parts 0047-057 without tests

* fix tests and adjust index.md file I do not understand

* add css tests to parts 037-040

* add tests parts 040-057

* remove space around ERM

* add true assertion until document iframe is fixed

* add critical review suggestions

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

* use clear, Tom-like language for 038

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

* change order to match author's age

* apply suggestions with personal pazzaz

* add that thing Nich forgets

* use innerText

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

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-10-14 15:33:13 -07:00
Eric Cheng de422fe365
fix: change phrasing in challenges to make it easier to read (#43732)
* refactor: made instructions incurriculum\challenges\english\01-responsive-web-design\applied-visual-design\use-the-strong-tag-to-make-text-bold.md a little more clear to user

* refactor: changed phrasing in instructions in curriculum\challenges\english\01-responsive-web-design\applied-visual-design\use-the-s-tag-to-strikethrough-text.md to make it slightly easier to read and less verbose

* refactor: fix phrasing in curriculum/challenges/english/01-responsive-web-design/applied-visual-design/use-the-s-tag-to-strikethrough-text.md

* fix: streamline phrasing according to requested changes

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

* fix: change phrasing according to requested changes

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

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-10-14 15:54:39 -05:00
Krzysztof 07eb99e57c
fix: remove pretest for full-output (#43655) 2021-10-14 12:23:45 -07:00
GabeNedden f3e1c59c92
fix(curriculum): Add Privacy Consideration note (#43779)
* Add Privacy Consideration note to Stock Price Checker challenge

* remove link to external GDPR site

* Improve wording

* Update curriculum/challenges/english/09-information-security/information-security-projects/stock-price-checker.md

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

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-10-14 14:28:03 +00:00
Jeremy L Thompson b8b86a65b8
fix issue #42850, test for setters adding properties (#43813) 2021-10-14 15:58:13 +02:00
camperbot 7dc9af5ce5
chore(i18n,curriculum): update translations (#43846) 2021-10-13 08:28:11 -07:00
Oliver Eyton-Williams 22afdd1aad
fix: stop modal appearing in steps (#43728)
* fix: stop showing completion modal on steps

* feat: submit steps with ctrl+enter

* fix: handle ctrl+enter when not focussing editor

* fix: reset tests when user types

* refactor: pass showCompletionModal as an option

Otherwise we have to write executeChallenge(true) which does not mean
what you might reasonably expect.

* fix: always executeChallenge when not on step

* fix: update frontend project show

* fix: handle missing payload

* refactor: isProjectStep -> hasEditableRegion

* refactor: more renaming

* fix: make meta.json control multifile editor use

* fix: update the challengeSchema correctly

* Update client/src/templates/Challenges/classic/editor.tsx

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

* fix: remove logging

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-10-13 14:47:59 +03:00
camperbot 4d8784291e
chore(i18n,curriculum): update translations (#43812) 2021-10-12 17:20:30 +02:00
Pranav Joglekar d947d8c975
fix: add test to ensure the innerText of labels doesn't change (#43803)
For the check-radio-buttons-and-checkboxes-by-default exercise,
campers are able to pass the exercise if the checked attribute is
written in an incorrect syntax. This PR checks the innerText of the
elements which are being added the 'checked' attribute and ensures that
their value doesn't change.
Fixes #43750
2021-10-11 21:21:30 +02:00
camperbot bdd33a5fe7
chore(i18n,curriculum): update translations (#43795) 2021-10-10 22:18:16 +02:00
Prathamesh Gawas d3708422dd
fix(curriculum): add test to check if the original variable is edited (#43791)
* fix: add test to check if variable is edited

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/remove-whitespace-from-start-and-end.md

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-10-09 19:45:10 +02:00
camperbot dfe45bcc8e
chore(i18n,curriculum): update translations (#43776) 2021-10-08 14:51:42 +01:00
camperbot ff58255b26
chore(i18n,curriculum): processed translations (#43760) 2021-10-07 21:38:50 +05:30
Renovate Bot 536eef3be9 chore(deps): update babel monorepo to v7.15.8 2021-10-06 23:33:34 +00:00
camperbot e6b3c90983
chore(i18n,curriculum): update translations (#43746) 2021-10-06 17:36:48 +02:00
Oliver Eyton-Williams c8d7f0a782
feat(tools): remove eslint-plugin-prettier for prettier (#42438)
* feat: remove eslint-plugin-prettier for prettier

This removes the annoying lint warnings when all that needs to change is
formatting

* fix: use .js lint-staged config to ignore properly

* fix: lint everything if a lot of files are changed

It's faster than making lots of individual linter calls

* chore: apply prettier

* fix: ignore code in curriculum-file-structure
2021-10-06 21:02:21 +05:30
Ilenia 78e28e2bd3
fix: reset regex.lastIndex when tests use test method (#43695)
* added regex.lastIndex = 0 to tests

* typo
2021-10-06 16:14:50 +09:00
Ngoako Ramokgopa ce249f9625
fix: link to react documentation (#43704)
* Update set-state-with-this.setstate.md

revert the base url back to https://facebook.github.io/react/docs/state-and-lifecycle.html

* Update use-proptypes-to-define-the-props-you-expect.md

Linked to the exact place for the types of propTypes you can use. The original link was to the documentation, which states that it has been moved, So I thought it would be intuitive to link the exact place React wants you to go.

* Update curriculum/challenges/english/03-front-end-development-libraries/react/use-proptypes-to-define-the-props-you-expect.md

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

* Update curriculum/challenges/english/03-front-end-development-libraries/react/set-state-with-this.setstate.md

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

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-10-04 18:51:29 -05:00
camperbot aae7b7bca0
chore(i18n,curriculum): processed translations (#43713) 2021-10-04 16:27:38 +02:00
Eric Cheng 2ba536d559
refactor: enforce consistent camelCase in const names, add comments, condense multiple single-line comments into one multi-line comment (#43699) 2021-10-04 19:15:44 +05:30
camperbot 504ed3a917
chore(i18n,curriculum): update translations (#43661) 2021-10-03 20:24:27 +01:00
Riadh Laabidi 304f245cd2
fix(curriculum): Remove outdated video (#43685)
* Remove outdated video from testing objects for properties challenge

* Remove outdated video from testing objects for properties challenge
2021-10-02 18:51:15 +02:00
Oliver Eyton-Williams e4ba0e23ea
feat: enable reset in multifile editor (#43617)
* feat: dispatch resetChallenge action

* fix: copy challengeFiles instead of in-place sort

* fix: handle null updateFile payloads in redux

* refactor: reorganise region initialization

* refactor: pull code into editorDidMount

Then we can rely on the presence of the editor and monaco and don't have
litter the code with null checks.

* refactor: use better name for editable region init

* refactor: remove unused decoration

* refactor: rename forbidden region init functions

* fix: keep all challengeFiles when resetting

* refactor: remove unused decoration class

* fix: reinitialize editor on reset

* fix: stop adding multiple scroll listeners

Since the challengeFile update on each keystroke extra (unnecessary)
adding of listeners slowed the editor to a crawl.

* fix: only scroll to editor on mount

Rather than on any edit.

* refactor: remove logs and comments

* fix: rename toSortedArray and fix broken test

* fix: check for null not falsy in updateFile

* fix: only update project features when project

* fix: only reset if editor contents have changed

* feat: focus on editor after reset
2021-10-01 10:36:20 +02:00
Hankai Xia cf88dfd3ce
fix(curriculum): Fix a typo in "Problem 141: Investigating progressive numbers, n, which are also square" (#43647) 2021-10-01 08:02:13 +02:00
miyaliu666 3ea2fe4f77
feat(i18n,curriculum): add Bilibili ids for Chinese (#43564)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-01 09:54:12 +05:30
Dharmin K Shah f9e35a0e6c
fix(curriculum): Remove videoUrl using old image srcs (#43631)
* fix: replace responsive web dev bitly links

* Revert "fix: replace responsive web dev bitly links"

This reverts commit 3d2bcbef4b.

* fix: remove video url from html challenges using old image srcs
2021-09-30 19:13:43 +04:00
camperbot b38ddc0fd6
chore(i18n,curriculum): update translations (#43633) 2021-09-30 16:29:50 +02:00
bkelley361 b153745362
fix(links): Fixed 4 files with broken links (#43618) 2021-09-29 23:07:45 +01:00
camperbot c1faed1635
chore(i18n,curriculum): update translations (#43615) 2021-09-29 15:15:14 +00:00
prashantaghoshal e4e74aa4f2
fix(curriculum): strip comments from code when testing (#43597)
* fix: update ES6-Compare Scopes of var and let

Fixes Issue: Adding a comment causes a valid answer to be wrong in ES6 > Compare Scopes of the var and let keywords

Fixes: #43578

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords.md

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

Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
2021-09-29 11:13:41 +02:00
Shaun Hamilton 2deb73c8d1
feat(curriculum): add accessibility-quiz practice project (#43244)
* feat(curriculum): add accessibility-quiz practice project

* add parts 002-006

* add parts 7-8, tentative on logo aspect-ratio

* add parts 008-013

* add parts 013-016

* add parts 017-026

* add parts 026-027

* add parts 027-029

* add parts 029-044

* add parts 044-067 - all parts done

* add tests 001-009

* add tests 010 - 033

* add tests 034 - 039

* update tests 008~033, add tests 040-050

* add all tests

* fix some stuff, remove final.md

* take reasonable suggestions from Nich, ignore rest

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

* replace svg link with actual CDN

* remove getAttribute in potentially bad places

* add method to form

* fix silly querySelectors

* adjust selectors for 028

* fix selectors, and add color transformations

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>

* fix: typos, and make one test lenient

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
2021-09-28 15:38:44 -05:00
camperbot 26c6300743
chore(i18n,curriculum): update translations (#43595) 2021-09-28 17:22:14 +02:00
camperbot eac0a395a1
chore(i18n,curriculum): update translations (#43583) 2021-09-27 18:10:31 +01:00
Oliver Eyton-Williams 2b6bef08ae
feat: localize videos (#42869)
* refactor: separate out VideoPlayer component

* feat: support bilibili videos

* feat(client): allow localized videos to be shown

* fix: remove add subtitles CTA

* feat: add locale ids for Why Program?
2021-09-27 12:26:38 +03:00
Ilenia 00a81067a3
chore(curriculum): changed external links to news articles in 4 challenges (#43373)
* changed 4 links

* fix wording

* change link as suggested by @gikf
2021-09-27 09:12:53 +01:00
Ikko Ashimine 6d19fec884
fix(curriculum): typo in word-frequency.md (#43571)
occurences -> occurrences
2021-09-26 17:11:25 +02:00
camperbot 1f842f04ee
chore(i18n,curriculum): update translations (#43569) 2021-09-25 18:15:05 +01:00
Renovate Bot acba4f7b00 chore(deps): update dependency mocha to v9.1.2 2021-09-25 12:07:51 +00:00
Tom 160931cd6a
fix: update rbdms urls to new repos (#43477)
* fix: update rbdms urls to new repos

* revert: github-tutorial-urls-to-moT01-repo
2021-09-25 12:54:00 +02:00
camperbot 9f2595ec0b
chore(i18n,curriculum): update translations (#43556) 2021-09-24 06:31:25 -07:00
Alan Luo 42e88ac281
fix(curriculum): Fix a typo (#43554) 2021-09-24 15:48:31 +09:00
James Geer 77b8405a31
fix(curriculum): allow optional final css semi-colon (#43545)
* fix for issue: #43536, final css property optional semi-colon

* accidentally left a "y" at the end of the sentence

* replaced regex with CSSHelp

* removed trailing white-space
2021-09-23 19:25:50 +01:00
Shaun Hamilton 5ddccecd46
fix(curriculum): adjust implementation-of-social-auth tests (#43162)
* fix(curriculum): adjust implementation-of-social-auth tests

* use deepInclude with much optional chaining
2021-09-23 11:37:22 -05:00
camperbot fd544c02a5
chore(i18n,curriculum): processed translations (#43546) 2021-09-23 16:38:58 +01:00