Commit Graph

3110 Commits (e0a5fcdb8eeffa53e7c6f07e182b21310f74da28)

Author SHA1 Message Date
camperbot 5d1b60b07f
chore(i18n,curriculum): processed translations (#44637) 2022-01-02 16:26:15 +05:30
Bruce B 070ef7bb09
fix: rwd beta - ferris wheel step 1 html test (#44625)
* fix: rwd beta - ferris wheel step 1 html test

* fix: update regex to require new line/remove caret
2022-01-01 18:35:27 -08:00
Jim Kernicky a9852c7180
fix(curriculum): typos in Beta Colored Markers section (#44631)
Co-authored-by: “Jim” <“jimkernicky@gmail.com”>
2022-01-01 18:27:47 -08:00
Jack Howard 2a3e344d13
fix(curriculum): remove extra "\" from description (#44615)
Noticed an extra "/" in the text file on
2022-01-01 18:18:13 -08:00
Karalee Conover a72326cea1
fix(curriculum): spelling of cinnamon in RWD Camper Cafe Menu (#44635)
* Change Sp from Cinammon to Cinnamon Steps 54-92

* Step 53 Changed sp of Cinammon to Cinnamon

* Fix spelling of Cinnamon Step 92 L250
2022-01-01 18:13:11 -08:00
Renovate Bot 5f14e43454 chore(deps): update babel monorepo to v7.16.7 2021-12-31 02:17:09 +00:00
Buntu Redempter 1a9a48911f
fix(curriculum): remove "is" in the description (#44592) 2021-12-30 07:03:18 +01:00
Jim Kernicky d29a09ebbb
fix(curriculum): improve wording (#44605)
* Fix: Removed words from steps 42 & 58, made changes to steps 41 & 45 (Beta)

* Made the suggested change by removing the word 'Note'

* Changed 'last' to 'previous' in step 58

Co-authored-by: “Jim” <“jimkernicky@gmail.com”>
2021-12-30 06:54:43 +01:00
Bruce B 46ba5f5cbd
fix(curriculum): css tests for firefox in beta rwd (#44598)
* fix: css tests for firefox in beta rwd

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-059.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-025.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-061.md

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

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2021-12-29 00:05:58 -08:00
Najmieh Sadat Safarabadi 73e3565707
fix(curriculum): add missing word in instructions - step 31 (#44607)
* Edited Missing Word in instructions- Step 31

Learn HTML Forms by Building a Registration Form - Step 31 - missing word in instructions

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/step-031.md

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

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2021-12-28 19:06:55 -08:00
Buntu Redempter b4acccbde9
Added "be" in the first paragraph (#44610)
Added "be" in the first paragraph of the description.
2021-12-28 19:05:28 -08:00
Bruce B 58aea70c9e
fix: remove extraneous word from instructions (#44601) 2021-12-28 19:03:20 -08:00
camperbot 81cf5a37c1
chore(i18n,curriculum): update translations (#44586) 2021-12-28 10:54:36 +05:30
Renovate Bot ad5e5d698e chore(deps): update dependency acorn to v8.7.0 2021-12-27 23:38:02 +00:00
camperbot 7c6c8bfd35
chore(i18n,curriculum): update translations (#44573) 2021-12-23 10:05:44 -08:00
Oliver Eyton-Williams 36363f277d
test: enable tests for steps (#44550)
* fix: handle missing solutions correctly

Rather than creating an [[]] the parser now creates [] which isEmpty().
This makes the test suite check the next challenge for a solution.

In addition, the logic for testing solutions was fixed.

* chore: update snapshots

* test: build new superblock in node.js-tests CI

* test: allow forward slash in superblock slug

* fix: borked tests oops

* test: ignore duplicated projects

* fix: i did not break these shaun did :)

* fix: idIndex is index of id not id

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-12-22 12:18:06 -08:00
Jeremy L Thompson 4be4bf3624
fix(curriculum): update euler-50 solution with prime sieve (#44556) 2021-12-22 23:29:16 +05:30
Oliver Eyton-Williams fd63bb6f85
feat: mvp features for soft launch (#44539)
* refactor: use enum

* feat: create links between legacy and new

* refactor: pull out legacy-links component

* fix: import order

* fix: provide icon for new superblock

* feat: only show the copy on the new superblock

* fix: use the proper i18n keys correctly

* feat: put the new superblock at the end of the map

* feat: update the new superblock title

* test: update for soft launch order

* fix: show original project links on /settings

Soft launch only.

* test: use SHOW_NEW_CURRICULUM in tests

* fix: rename the remaining rwd-22s

* feat: make the messge prettier

* fix: message copy

* refactor: make comment make sense

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-12-22 16:53:40 +00:00
Shaun Hamilton 10f0d3c07a
fix: new practice project tests (#44554)
* fix accessibility-quiz and reg-form tests

(cherry picked from commit 467f0b3e78)

* fix: registration-form tests

* fix: ferris wheel tests

* fix: photo-gallery tests

* fix: magazine tests

(cherry picked from commit 5831c2345d)

* fix: picasso tests

* fix: piano tests

* fix: magazine and nutrition tests

* fix: again magazine...I am doing this in sill order

* chore: resolve discrepancies with tests

(cherry picked from commit a7b5e031df)

* fix: the stuffs...I am tired

* fix: oops

(cherry picked from commit 05ff55a036)

* fix: add missing solutions

(cherry picked from commit 61fa23fc70)

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-12-22 08:16:59 -08:00
camperbot 4ced66a1fa
chore(i18n,curriculum): update translations (#44553) 2021-12-22 15:06:34 +01:00
Tom e52990eb1c
fix(curriculum): add missing solutions to last step of practice projects (#44544) 2021-12-21 23:03:09 +00:00
Kristofer Koishigawa e878b3ee57
feat: add CSS Color Markers project (#44459)
* feat: first draft of CSS Color Markers project

* Update client/i18n/locales/english/intro.json

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-007.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-046.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-079.md

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

* feat: begin adding tests

* feat: add more tests, fix wording and some CSS values

* feat: add more steps, fix wording

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-014.md

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

* feat: add more tests, simplify some regex tests, fix wording

* fix: preformatted block names and help category map

* feat: finish first draft of color marker tests

* fix: simplify text involving classes

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-004.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-008.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-009.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-010.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-011.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-013.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-014.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-014.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-054.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-089.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-094.md

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

* fix: add outro message to final CSS color markers step

* fix: make most regex tests case insensitive, add note about casing for filename

* correct double key from rebase

* remove jQuery for betterness

* move project to new superblock

* adjust meta to match others

* fix: add new to helper call

* regex-ise funny lessons

* unnecessary: add -22 superblock

* fix: make linter happy

* regex-ise missed challenges...oops

* Revert "fix: make linter happy"

This reverts commit 6e6e3cf503.

* Revert "unnecessary: add -22 superblock"

This reverts commit a58045607e.

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-005.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-010.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-052.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-053.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-054.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-055.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-056.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-057.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-058.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-059.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-062.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-063.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-064.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-065.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-068.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-069.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-082.md

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

* fix: rename project to "Learn CSS Colors by Building a Set of Colored Markers"

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/step-010.md

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

* adjust superblock to include `2022/`

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-12-21 11:45:08 -08:00
Oliver Eyton-Williams ff566d441a
fix: rename superblock to use /2022/ (#44535)
* chore: update superblock properties

* refactor: remove isAudited from certs

It was always defaulting to English, anyway.

* refactor: get superblock from metas, not dirs

* fix: rename responsive-web-design-22

This converts the slugs to /2022/responsive-web-design

* refactor: remove unused export

* test: update test with new curriculum config

* refactor: use key not [key]

* refactor: remove directory reference from test
2021-12-21 12:35:51 -06:00
camperbot a93940abc0
chore(i18n,curriculum): processed translations (#44540) 2021-12-21 21:07:31 +05:30
Nicholas Carrigan (he/him) 8614db7a32
feat: enable new curriculum (#44183)
* feat: use legacy flag

chore: reorder challenges

fix: linter

revert: server change

feat: unblock new editor

fix: proper order

fix: 0-based order

fix: broke the order

feat: move tribute certification to its own block

feat: split the old projects block into 4

fix: put all blocks in order

chore: add intro text

refactor: use block, not blockName in query

fix: project progress indicator

* fix: reorder new challenges/certs

* fix: reorder legacy challenges

* fix: reintroduce legacy certs

* feat: add showNewCurriculum flag to env

* chore: forgot sample.env

* feat: use feature flag for display

* fix: rename meta + dirs to match new blocks

* fix: add new blocks to help-category-map

* fix: update completion-modal for new GQL schema

* test: duplicate title/id errors ->  warnings

* fix: update completion-modal to new GQL schema Mk2

* chore: re-order metas (again)

* fix: revert super-block-intro changes

The intro needs to show both legacy and new content.  We need to decide
which pages are created, rather than than what a page shows when
rendered.

* feat: move upcoming curriculum into own superblock

* fix: handle one certification with two superBlocks

* fix: remove duplicated intros

* fix: remove duplicate projects from /settings

* fix: drop 'two' from Responsive Web Design Two

* chore: rename slug suffix from two to v2

* feat: control display of new curriculum

* feat: control project paths shown on /settings

* fix: use new project order for /settings

This does mean that /settings will change before the release, but I
don't think it's serious.  All the projects are there, just not in the
legacy order.

* fix: claim/show cert button

* chore: remove isLegacy

Since we have legacy superblocks, we don't currently need individual
blocks to be legacy

* test: fix utils.test

* fix: verifyCanClaim needs certification

If Shaun removes the cert claim cards, maybe we can remove this entirely

* fix: add hasEditableBoundaries flags where needed

* chore: remove isUpcomingChange

* chore: v2 -> 22

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-20 12:36:31 -06:00
camperbot 63a53ee382
chore(i18n,curriculum): update translations (#44527) 2021-12-19 15:32:25 +00:00
camperbot 14fe1fe653
chore(i18n,curriculum): update translations (#44524) 2021-12-18 14:30:08 +00:00
camperbot d12ab79798
chore(i18n,curriculum): update translations (#44507) 2021-12-16 14:58:18 +00:00
Luca b3f1c85d54
fix(curriculum): remove random single quote (#44516) 2021-12-16 15:45:32 +01:00
Tom 580a51f7a7
fix: simplify mobile layout tabs (#44431)
* fix: simplify mobile layout tabs

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


Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-15 13:52:44 +00:00
Scott d06d976be4
feat(learn): add Implement Binary Search - Coding Interview Prep - Algorithms Challenges (#44386)
* basic challenge create, with two tests

* updated test

* minor update

* rewrote tests, making many out of one test func

* completed coding challenge and ran tests local

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* renamed doc, fixed typo, made testing consistent

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

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

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>
Co-authored-by: Ilenia <nethleen@gmail.com>
2021-12-14 21:16:22 -06:00
camperbot 755f27093c
chore(i18n,curriculum): update translations (#44498) 2021-12-14 09:04:33 -08:00
Oliver Eyton-Williams 1642c631de
refactor: drop superorder from metas (#44422)
* refactor: create superOrder from superblock

* chore: drop superOrders from meta

* fix: return null for 'certifications'

* fix: only set superOrder if it is needed

* fix(tests): remove filter from order tests

* test: use getSuperOrder, since superOrder has gone

* test: ignore certificates

* fix: getSuperOrder throw for 'certifications'

* test: remove certificate special case

It wasn't necessary, anyway (it had never been working because I put
certificate not certification)

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-12-14 08:16:23 -08:00
Renovate Bot 5a1414e247 chore(deps): update babel monorepo to v7.16.5 2021-12-14 02:42:46 +00:00
Najmieh Sadat Safarabadi b4b3ecd5ce
fix(curriculum): remove unnecessary quotation marks (#44486) 2021-12-13 13:32:34 -08:00
camperbot fc3756656a
chore(i18n,curriculum): update translations (#44484) 2021-12-13 16:41:12 +00:00
Nicholas Carrigan (he/him) 010e09ffb7
chore: migrate untranslated files (#44462) 2021-12-10 21:28:00 +05:30
camperbot ecc964996b
chore(i18n,curriculum): processed translations (#44457) 2021-12-10 06:45:49 -08:00
camperbot 0473dedf47
chore(i18n,curriculum): processed translations - new ukrainian (#44447) 2021-12-10 11:14:24 +05:30
Oliver Eyton-Williams 9ad29e03d5
refactor: handle certs separately (#44434)
* refactor: split createChallenge into two functions

* refactor: remove certification metas

* fix: remove the metas I missed
2021-12-09 11:53:12 -08:00
Tom 1c5d136add
feat(client): add notes tab to project based curriculum (#44247)
* feat: add notes tab to project based curriculum

* feat: add console key to i18n

* feat: add reset to i18n

* fix: use translations in action-row

* fix: use hasEditableBoundaries as check for when to display instructions/editor-tabs

* fix: clean up notes components and use prism formatting

* feat: add notes to docs/how-to-work-on-challenges

* revert: unused code

* fix: lint errors?

* fix: lint errors

* fix: add notes to graphql schema

* fix: add notes to challenge schema

* fix: only display notes on project based

* fix: add env data back to mobile layout

* fix: prettify

* revert: notes

* fix: hide notes on mobile for non project based

* rename: switchDisplayTab -> togglePane

* revert: hasEditableBoundaries check back to projectBasedChallenge check
2021-12-09 18:42:03 +00:00
Nicholas Carrigan (he/him) c19bf504b8
Revert "fix: only include frame-runner when running tests (#44337)" (#44419)
This reverts commit a23a47750b.
2021-12-08 22:10:41 +05:30
sanberkzulfikar 50b554470d
fix(curriculum): wording consistency in counting-cards.md (#44390) 2021-12-08 07:32:56 -08:00
camperbot 792ec8917c
chore(i18n,curriculum): processed translations (#44416) 2021-12-08 06:49:11 -08:00
justinrobinson1020 cd9be3c291
fix(curriculum): improve regex for advanced-node (#44407)
* Modify set-up-passport challenge test regex to accept space after secret

* Accept any number of spaces

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

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2021-12-07 22:09:57 +00:00
Shaun Hamilton 86cc757945
fix(client): remove normalize.css from globals (#44403) 2021-12-07 23:08:51 +05:30
camperbot e2651ba552
chore(i18n,curriculum): processed translations (#44402) 2021-12-07 08:08:10 -08:00
Oliver Eyton-Williams a23a47750b
fix: only include frame-runner when running tests (#44337)
* fix: only include frame-runner when running tests

* fix: handle missing options

* test: use test runner for curriculum tests
2021-12-06 13:02:49 -06:00
Nicholas Carrigan (he/him) 8372623f69
chore(curriculum): fix + test curriculum order (#44366)
* chore(tools): test curriculum order

* chore: update orders

* fix(tests): temporarily ignore cert super

The Relational Databases cert being 'upcomingChanges' is breaking
the tests.

* fix: graphql query here

* fix: use only one meta

* chore: remove unnecessary superOrders

* chore: zero-based indexing

* fix: update mock

* refactor: remove unused fixture

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-06 16:55:13 +00:00
camperbot 2411385e3d
chore(i18n,curriculum): processed translations (#44388) 2021-12-06 09:27:54 +05:30
Arjun Yadav a5528b8638
fix(curriculum): add missing spaces (#44381) 2021-12-05 09:35:22 +05:30
Shaun Hamilton 393aeabc8f
feat(curriculum): add css-penguin practice project (#44214)
* feat: add css-penguin practice project

* rename block name

* rename meta block

* rename necessary properties

* rename page

* add to step 25

* adjust prototype with better structure/naming

* add step adjusting .ground z-index

* fix: add position: absolute to .ground

* add to step 37

* add to step 103

* remove erm from solution

* add tests to 001-020

* add tests 021-030

* test: update 012 to use dynamic hints

* test: improve tests with dynamic hints

* fix: add position:relative to .penguin

* add tests 032-055

* add tests 056 - 103

* fix some tests

* code blocks and test fixes

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

* allow 0% 0px 0

* fix: add width and height step for silly firefox

* add instruction to add html element

* Tom's good suggestions, and his American suggestions

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

* adjust wording for - you guessed it - firefox

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

* add missing calc keyword

* just fix it with regex :(

* apply Nich's probably bogus suggestions

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

* remove duplicate

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-12-03 17:59:32 -06:00
Nicholas Carrigan (he/him) 536a689d34
feat(curriculum): balance sheet project (#44189)
* feat: initial infra

* feat: create steps

* chore: apply sem's review suggestions

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

* feat: write tests

* chore: optional?.chaining?.

* chore: gikf's suggestion

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

* chore: rename

* chore: *

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

* chore: apply shaun's review suggestions

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

* chore: manual review suggestions

* chore: ?????

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

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-03 16:20:34 -06:00
Oliver Eyton-Williams f613a1e5fd
fix: index.css/js to styles/script (#44356)
* fix: replace index with script/styles as needed

* fix: remove redundant fileKey

It's overwritten by createPoly, so the parser does not need to create it

* fix: curriculum test suite

* Update client/src/templates/Challenges/classic/MultifileEditor.js

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-03 12:32:29 -08:00
camperbot 56ca9320da
chore(i18n,curriculum): processed translations (#44372) 2021-12-03 15:44:33 +00:00
camperbot cd4d53f4c0
chore(i18n,curriculum): update translations (#44346) 2021-12-03 10:21:50 +01:00
Oliver Eyton-Williams 6af8ee6528
fix: hide file tabs on legacy challenges (#44291)
* fix: hide tabs for legacy challenges (desktop)

* fix: hide tabs for legacy challenges (mobile)

* fix: remove editor tabs (desktop)

* refactor: update comment

* fix: add missing usesMultifileEditor flags
2021-12-02 12:05:54 -08:00
renovate[bot] 0921e5e135
chore(deps): update dependency joi to v17.5.0 (#44344)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-02 23:15:54 +05:30
Oliver Eyton-Williams 03309bea9e chore: remove old package-locks 2021-12-02 19:57:47 +05:30
Timur b34bbe48d7
fix(curriculum): Made `Timestamp Microservice` project tests sort of "timezone aware" (#43939) 2021-12-01 11:17:18 +01:00
Shashank Rai bc9ade6a7d
bd (#44298) 2021-11-30 22:16:03 -06:00
camperbot f65a7a53bf
chore(i18n,curriculum): processed translations (#44319) 2021-11-30 15:06:52 +01:00
Prathamesh Gawas 25865cc9bb
fix(curriculum): add better test case for insert-an-element-into-a-max-heap challenge (#44285)
* fix(cirriculum): add better testcase for insert-an-element-into-a-max-heap challenge

* fix(cirriculum): fix testcase for insert-an-element-into-a-max-heap challenge

* Update insert-an-element-into-a-max-heap.md

* Update insert-an-element-into-a-max-heap.md
2021-11-29 12:43:40 -08:00
Alan Luo a10d49b75a
Fix a typo (#44309) 2021-11-29 12:05:13 -08:00
Dhananjay Mahajan 1b8f006669
fix(curriculum): separate tag into two (#44281) 2021-11-29 11:57:41 -08:00
Alan Luo ad730dc84b
fix(curriculum): missing backticks (#44308) 2021-11-29 11:50:38 -08:00
camperbot a8b0332720
chore(i18n,curriculum): update translations (#44283) 2021-11-29 08:32:04 -08:00
Najmieh Sadat Safarabadi aa9215b111
fix(curriculum): Edit the title of Project Euler Problem 283 (#44305)
* Edited the title following the issue

* Edited the title in the JSON file as well
2021-11-29 08:26:24 -08:00
Alessia Vanni 0deac73642
chore(curriculum): add instructions 08 (#44160)
Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
2021-11-29 10:54:18 +05:30
Steven 118d5aa59d
fix(curriculum): added whitespace after MathJax tag (#44304) 2021-11-29 10:52:36 +05:30
Alessia Vanni 56e394eb0e
chore(curriculum): add instructions for certificate 09 (#44241) 2021-11-25 11:22:06 +01:00
David Rivera Morales cf9f06918a
fix(curriculum): typo in the description in Problem 29: Distinct powers (#44243)
* Typo fixed in problem 29 Distinct

* Typo fixed using MathJax

* Update curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-29-distinct-powers.md

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

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2021-11-24 10:10:54 -08:00
Vinay Kumar Uppala 35b55f071a
fix: typo in back end instructions #44231 (#44232) 2021-11-24 09:32:34 -08:00
camperbot 9cf0d9fc3c
chore(i18n,curriculum): update translations (#44272) 2021-11-24 15:29:35 +00:00
camperbot ccfe21afb5
chore(i18n,curriculum): update translations (#44255) 2021-11-23 19:06:14 +00:00
camperbot 2ef9ecfb4d
chore(i18n,curriculum): update translations (#44227) 2021-11-22 18:25:21 +01:00
Nicholas Carrigan (he/him) 2cfa1d3bcd
chore: rename css skyline (#44211)
* chore: rename files

* chore: update codebase

* chore: proper title case

* chore: block name

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-11-20 08:34:21 -06:00
Nicholas Carrigan (he/him) fbb9f657b1
chore: rename accessibility quiz (#44206)
* chore: rename files

* chore: update codebase

* chore: proper title case

* chore: preformatted block name
2021-11-20 07:43:42 -06:00
Nicholas Carrigan (he/him) a73cffdc63
chore: rename photo gallery (#44204)
* chore: rename files

* chore: update codebase

* chore: proper title case

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-20 00:05:22 -06:00
Nicholas Carrigan (he/him) ff0fc1bdbf
chore: rename picasso painting (#44209)
* chore: rename files

* chore: update codebase

* chore: proper title case

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-19 23:30:57 -06:00
Nicholas Carrigan (he/him) 57d303826c
chore: rename nutrition label (#44205)
* chore: rename files

* chore: update codebase

* chore: proper title case

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-19 23:10:09 -06:00
Nicholas Carrigan (he/him) 59c24bd4be
chore: rename cafe menu (#44201)
* chore: rename files

* chore: update codebase

* chore: proper title case

* chore: missed block name

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-19 22:22:24 -06:00
Shaun Hamilton 0676506f00
fix(curriculum): adjust test euler-227 (#44180)
Correct test to match test-text.
2021-11-19 22:11:00 -06:00
Nicholas Carrigan (he/him) 0e66904272
chore: rename css piano (#44210)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:49:10 -06:00
Nicholas Carrigan (he/him) 06651d7043
chore: rename ferris wheel (#44213)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:38:19 -06:00
Nicholas Carrigan (he/him) 2ca67a6c23
chore: rename magazine (#44212)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:33:29 -06:00
Nicholas Carrigan (he/him) 1958eb2acd
chore: rename rothko painting (#44203)
* chore: rename files

* chore: update codebase

* chore: missed one

* chore: use proper title case
2021-11-19 21:23:04 -06:00
Nicholas Carrigan (he/him) ca6f5dbbcd
chore: rename registration form (#44202)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:18:01 -06:00
Nicholas Carrigan (he/him) 48550a582e
chore: rename cat photo project (#44200)
* chore: move files

* chore: update names in code

* chore: use correct name oops

* chore: proper title case
2021-11-19 21:11:31 -06:00
camperbot fecb10e611
chore(i18n,curriculum): processed translations (#44221) 2021-11-20 00:01:54 +05:30
Emiliano 67cac9ac42
definition change of :: before :: after pseudo elements (#44188) 2021-11-19 15:24:36 +01:00
camperbot bcc61f2ab3
chore(i18n,curriculum): update translations (#44199) 2021-11-18 22:52:12 +00:00
HiddenOgre28 a0d3f22dfc
fix(curriculum): correct grammar in description (#44194) 2021-11-18 16:07:12 +00:00
renovate[bot] 54cea8af21
chore(deps): update babel monorepo to v7.16.4 (#44190)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 10:44:13 +05:30
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
camperbot 2012ad3035
chore(i18n,curriculum): update translations (#43534) 2021-09-22 16:34:59 +01:00
James Geer 3207ea04e7
fix(curriculum): Css fix for issue #43517: Example css code does not demonstrate hover animation (#43524)
* fix question example code for id: 587d78a7367417b2b2512ae0

* Revert "fix question example code for id: 587d78a7367417b2b2512ae0"

This reverts commit c99edf8609.

* modifying only the english version of button hover example

* change to keep css looking consistent
2021-09-22 16:22:11 +02:00
Alan Luo 492ddcf6bd
fix(curriculum): move word 'example' to correct position (#43528) 2021-09-22 13:55:59 +01:00
Renovate Bot cf98d8b964 chore(deps): update dependency puppeteer to v10.4.0 2021-09-21 19:43:38 +00:00
Kristofer Koishigawa a9204f12ea
fix: replace frontend libraries bitly links (#41815)
* fix: replace frontend libraries bitly links

* fix: replace s3 bucket urls with cdn urls
2021-09-21 18:23:30 +01:00
Kristofer Koishigawa 8c9ca6a2fa
fix: replace JS algorithms and data structures bitly links (#41813) 2021-09-21 16:46:25 +01:00
camperbot b681dbfabe
chore(i18n,curriculum): update translations (#43500) 2021-09-21 08:09:14 -07:00
Mohanesh Babu 128d7a509d
Update create-an-es6-javascript-map.md (#43495) 2021-09-21 09:58:21 -05:00
Kristofer Koishigawa 1d4e7e1d16
fix: replace responsive web dev bitly links (#41811) 2021-09-21 09:46:55 -05:00
camperbot 3337f48586
chore(i18n,curriculum): update translations (#43493) 2021-09-19 20:11:53 +01:00
camperbot 15be1fe6bb
chore(i18n,curriculum): update translations (#43463) 2021-09-18 19:22:53 +01:00
Aaron McCollum badeb6e2df
fix(curriculum): reworded grammar to do without hyphen (#43487)
Suggesting the removal of "-" on line 29 in the description, as the comma before "such" is sufficient to separate the examples from the rest of the sentence.
2021-09-18 13:13:05 +01:00
Nicholas Carrigan (he/him) 2cf4a7d787
feat(curriculum): add piano project (#43364)
* feat: i broke it horribly

* fix: background colour first

* chore: apply shaun's review suggestions

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

* fix: missing asserts

* chore: apply shaun's review suggestions

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

* chore: apply shaun's review suggestions

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

* fix: remove extra background

* fix: meta order

* feat: clarify descriptions

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-09-13 17:51:42 +01:00
vama 6996d54fe7
fix(curriculum): specify array is returned from the function (#43425)
* (fix)Sort an array alphabetically using the sort Method - Array is returned from the function #43417

* (mod)Curriculum - Adding explicit instructions so that function will return a sorted array #43417

* (fix)Curriculum - Correcting grammetic error in instructions #43417

* mod: updated transaltion message #43417

* fix: Curriculum - Updated grammatical error in instructions #43417

Co-authored-by: Vama Mehta <vama.mehta@inqubit.in>
2021-09-13 17:22:55 +02:00
camperbot 3d50ac03ad
chore(i18n,curriculum): processed translations (#43435) 2021-09-13 16:13:43 +02:00
Nicholas Carrigan (he/him) a563b3b4e4
feat(curriculum): CSS Box Model project (#42182)
* feat(curriculum): add initial steps

Add the initial step files for this project.

* feat(curriculum): write test texts

Add some test text (tests coming soon).

* feat: tests for HTML bits

Add tests for the HTML bits - CSS holding off until parser lands.

* feat: CSS tests

New CSS parser works great!

* fix: link href

Fix the href in the boilerplate.

* chore: apply suggestions from code review

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

* fix: clarify link element

* fix: optional chaining

* fix: remove unused meta props

* fix: update helper and fix tests

* chore: apply tom's review suggestions

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

* chore: no console logs

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

* feat: intro

Add introductory text, tweak instructions a bit.

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-09-10 17:17:03 +01:00
EhEhRon91 9aea61d0df
fix: conflicting info updated (#43394) 2021-09-10 15:40:39 +05:30
renovate[bot] f46d183d95
chore(deps): update babel monorepo to v7.15.6 (#43424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 15:27:27 +05:30
James Huang adc07fb50a
fix(curriculum): typo in parsing html and saving data challenge (#43416) 2021-09-09 09:29:54 +02:00
Matt 4bfe989324
fix: typo in problem 260 (#43418) 2021-09-09 09:28:35 +02:00
Nicholas Carrigan (he/him) fa84f6c449
feat(curriculum): css picasso painting (#42436)
* feat: generating steps

- Steps 1-32 done.
- Steps 33-80 done.
- Instructions 1-26 done.
- Instructions 27-61 done.
- More steps.
- Instructions 62-88 done.
- Clarify instructions for new concepts.
- build fixes
- Audit instructions on live site.

* fix: add helpCategory

* feat: write tests

* feat: add intro

* chore: use the right selectors

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

* chore: cannot read property Shaun of undefined :)

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

* feat: Shau-ptional chaining

* chore: apply shaun's review suggestions

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

* fix: uncross my wires

* chore: apply shaun's review suggestions

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

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-09-07 21:49:42 +02:00
Nicholas Carrigan (he/him) 2c5ec74e45
fix: remove stray files (#43376) 2021-09-07 20:18:47 +05:30
camperbot ec4821a707
chore(i18n,curriculum): processed translations (#43390) 2021-09-07 20:17:37 +05:30
Renovate Bot d7e6e39a84 chore(deps): update dependency acorn to v8.5.0 2021-09-06 13:18:23 +00:00
camperbot 148cf18412
chore(i18n,curriculum): update translations (#43375) 2021-09-06 11:52:36 +01:00
Renovate Bot ec34f0f918 chore(deps): update babel monorepo to v7.15.5 2021-09-04 11:01:38 +00:00
Shaun Hamilton 7857756062
chore(client): meta and yml certificate -> certification (#43353)
* chore(client): meta and yml certificate -> certification

* make translators lives more difficult - rename everything
2021-09-03 08:08:45 -07:00
camperbot fddb88327c
chore(i18n,curriculum): processed translations (#43361) 2021-09-03 10:11:45 +02:00
Renovate Bot 271c16213a chore(deps): update babel monorepo to v7.15.4 2021-09-03 00:18:55 +00:00
camperbot 374876325e
chore(i18n,curriculum): update translations (#43332) 2021-08-31 09:47:25 -07:00
Tom adbd60a190
fix(i18n/curriculum): rename rdbms files across rest of languages (#43349)
* rename: i18n rdbms challenge files

* fix: adjust frontmatter to match
2021-08-31 15:56:13 +02:00
Renovate Bot 9414ccd338 chore(deps): update dependency mocha to v9.1.1 2021-08-28 15:30:33 +00:00
camperbot fd7e0f8568
chore(i18n,curriculum): update translations (#43324) 2021-08-27 18:24:25 +02:00
Tom cfbc7e9283
fix(curriculum): console not repsonding properly issue (#43053)
* fix(curriculum): console not repsonding properly issue

* fix: refine instructions

* fix: add a test + reword to remove seed comments

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console.md

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

* fix: remove comments from dictionary

* fix: remove comments from i18n dictionaries

* Revert "fix: remove comments from dictionary"

This reverts commit 7f76d5a8ec.

* Revert "fix: remove comments from i18n dictionaries"

This reverts commit 54b1c12cfc.

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-08-27 17:57:08 +02:00
Anshul Singh f834d648e8
fix max heap insert function (#43285) 2021-08-27 17:10:29 +02:00
Chris Benjamin 985bca3358
fix: updated lesson description for version requirements (#43317) 2021-08-27 11:13:45 +02:00
camperbot f9736fffa1
chore(i18n,curriculum): update translations (#43308) 2021-08-27 10:21:26 +05:30
Noor Fakhry d964e18339
fix(curriculum): exercise-tracker test and description improvement (#43205)
* fix(curriculum): clarify exercise tracker

* feat:separatetest steps for logs endpoint

* feat:separate test steps for logs endpoint, refactored a description sentence

* feat:separate-test-steps-for-users-endpoint

* added string checks on last commit

* feat:separate-test-steps-for-exercises-endpoint

* feat:separate-test-steps-for-users-endpoint

* feat:separate test steps

* feat:separate test steps

* feat:explicitly specify prop returned from 'GET /api/users'

* feat:explicitly specify obj returned from

* feat:explicitly specify returned responses from 'GET/api/users/:_id/logs'

* feat:separate test steps

* feat:separate test steps(apply req changes)

* feat:spearate test steps(made more req changes)

* feat:separate test steps(apply more req changes)

* feat:separate test steps(modified clarification of return from POST api/users)

* feat:separate test changes(added / after 'url')

* feat:separate test changes(applied more req changes)

* feat:spearate test steps(removed unwanted space)

* feat:separate test steps
2021-08-26 12:27:52 +01:00
chandan270 96bed09af6
fix: remove image from challenge (#43303) 2021-08-25 22:02:09 +02:00
srijit2002 ab3e12935d
fix(curriculum):Incorrect answer passes test for Set the font-size for Multiple Heading Elements challenge. (#43297) 2021-08-25 20:16:49 +02:00
camperbot 673b1caa39
chore(i18n,curriculum): update translations (#43267) 2021-08-25 21:42:11 +05:30
Patrick Lehmann 5371af7767
fix(learn): removed space from first sentence and added instruction to basic javascript challenges (#43198)
* sheesh

* added markdown formatting to challenge

* added formatting to keep space in concatenating strings with the plus equals operator

* Delete husky.sh

* added back in italian dictionary

* removed code formatting

* updating text formatting for challenges, removed space and added instruction

Co-authored-by: Pat Lehmann <patrick.lehmann@homes.com>
2021-08-24 10:26:45 -07:00
camperbot 7dfa94902d
chore(i18n,curriculum): update translations (#43255) 2021-08-21 19:28:22 +02:00
arfy slowy 815f588942
fix: typo grammar (#43259) 2021-08-21 09:26:03 +02:00
Renovate Bot 0f1fbb4213 chore(deps): update dependency mocha to v9.1.0 2021-08-20 09:06:42 +00:00
camperbot 703394b127
chore(i18n,curriculum): update translations (#43178) 2021-08-20 09:00:51 +02:00
MChiancone 1745411c24
fix(curriculum): add sentence to instructions for clarity (#43227) 2021-08-18 17:17:50 +02:00
Jay Huang e71b1f3dbf
fix(curriculum): Removed URL for wrong video solution (#43210) 2021-08-18 16:35:57 +05:30
Ilenia 1d1c69ca53
Back end and Front end files back to English (#43219)
* Back end projects back to english

* front end projects back to english

* Introducing Inline Styles challenge back to English

* changing files to be similar to others
2021-08-17 10:27:02 -05:00
Nicholas Carrigan (he/him) 1786ce3685
fix: missed this one (#43200) 2021-08-14 11:15:04 +05:30
Shaun Hamilton c2a11ad00d
feat: add 'back/front end' in curriculum (#42596)
* chore: rename APIs and Microservices to include "Backend" (#42515)

* fix typo

* fix typo

* undo change

* Corrected grammar mistake

Corrected a grammar mistake by removing a comma.

* change APIs and Microservices cert title

* update title

* Change APIs and Microservices certi title

* Update translations.json

* update title

* feat(curriculum): rename apis and microservices cert

* rename folder structure

* rename certificate

* rename learn Markdown

* apis-and-microservices -> back-end-development-and-apis

* update backend meta

* update i18n langs and cypress test

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

* fix: add development to front-end libraries (#42512)

* fix: added-the-word-Development-to-front-end-libraries

* fix/added-the-word-Development-to-front-end-libraries

* fix/added-word-development-to-front-end-libraries-in-other-related-files

* fix/added-the-word-Development-to-front-end-and-all-related-files

* fix/removed-typos-from-last-commit-in-index.md

* fix/reverted-changes-that-i-made-to-dependecies

* fix/removed xvfg

* fix/reverted changes that i made to package.json

* remove unwanted changes

* front-end-development-libraries changes

* rename backend certSlug and README

* update i18n folder names and keys

* test: add legacy path redirect tests

This uses serve.json from the client-config repo, since we currently use
that in production

* fix: create public dir before moving serve.json

* fix: add missing script

* refactor: collect redirect tests

* test: convert to cy.location for stricter tests

* rename certificate folder to 00-certificates

* change crowdin config to recognise new certificates location

* allow translations to be used

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

* add forwards slashes to path redirects

* fix cypress path tests again

* plese cypress

* fix: test different challenge

Okay so I literally have no idea why this one particular challenge
fails in Cypress Firefox ONLY. Tom and I paired and spun a full build
instance and confirmed in Firefox the page loads and redirects as
expected. Changing to another bootstrap challenge passes Cypress firefox
locally. Absolutely boggled by this.

AAAAAAAAAAAAAAA

* fix: separate the test

Okay apparently the test does not work unless we separate it into
a different `it` statement.

>:( >:( >:( >:(

Co-authored-by: Sujal Gupta <55016909+heysujal@users.noreply.github.com>
Co-authored-by: Noor Fakhry <65724923+NoorFakhry@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-08-13 21:57:13 -05:00
renovate[bot] 466302e439
chore(deps): update dependency path-parse to 1.0.7 [security] (#43173)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-13 15:41:59 +05:30
Shaun Hamilton 59f17f237b
refactor: files{} -> challengeFiles[], and key -> fileKey (#43023)
* fix(client): fix client

* fix propType and add comment

* revert user.json prettification

* slight type refactor and payload correction

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

* update ChallengeFile type imports

* add cypress test for code-storage

* update test and storage epic

* fix Shaun's tired brain's logic

* refactor with suggestions

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

* update codeReset

* increate cypress timeout because firefox is slow

* remove unused import to make linter happy

* use focus on editor

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

* use more specific seletor for cypress editor test

* account for silly null challengeFiles

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-12 20:48:28 +02:00
Nicholas Carrigan (he/him) 2d166c3c0a
fix(curriculum): clarify exercise tracker (#43169)
* fix(curriculum): clarify exercise tracker

* feat: separate test steps

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

* Revert "feat: separate test steps"

This reverts commit 9842aec4e8.

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-08-12 15:08:44 +02:00
Ilenia 5f57667c7d
fix: clarify slice-and-splice (#43170) 2021-08-11 17:00:44 +02:00
Renovate Bot 686acd6dff chore(deps): update babel monorepo to v7.15.3 2021-08-11 09:47:40 +00:00