* fix: ensures jquery exists for those challenges
For tests frame-runner.js imports jquery, but jquery challenges always
need it
* Revert "Revert "fix: only include frame-runner when running tests (#44337)" (#44419)"
This reverts commit c19bf504b8.
* fix (Curriculum) Added a log statement
Added a log statement to the seed's content, referencing the function countOnline with a sample object as argument.
The user should be able to see the result of the function printed out on the console as soon as it is ran, and it should be easier to understand what is being outputed by the function in this challenge.
* Added examper users object
* Added instruction to clarify color should be red
* Added comma before "and" for punctuation
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
* Fixed typos in Beta CamperCafe lessons
* Update curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/step-060.md
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
Co-authored-by: “Jim” <“jimkernicky@gmail.com”>
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
* 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”>
* 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>
* 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>
* 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>
* 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>
* 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
* 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>
* fix: simplify mobile layout tabs
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>