* 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>
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
* 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>
* 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>
* 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
* 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>
* 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>
* 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
* 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
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.
* (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>