* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* fix: general bugs
- Ensure editable region at end of code-block is followed by a blank
line.
- Remove apparent duplicate step.
- Address spelling issues.
* feat: some tests
* feat: tests 6-20
Add tests for steps 6-20.
* feat: tests 21-30
Add tests for steps 21 through 30.
* feat: tests 31-40
Add tests for steps 31 through 40.
* feat: tests 41-50
Add tests for steps 41 through 50.
* feat: tests 51-60
Add tests for steps 51 through 60.
* feat: tests 61-70
Add tests for steps 61 through 70.
* feat: tests 71-80
Add tests for steps 71 through 80.
* feat: steps 81-92
Add tests for steps 81 through 92.
* feat: align dashed names
Align the dashed names with the titles and file names.
* fix: apply gikf's suggestions
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
* fix: manual review suggestions
Apply gikf's other suggestions.
* feat: more thorough testing
When a test asserts that a camper adds a new element relative to
an existing element, also test that the existing element is not
malformed.
* feat: optional semi colons
Make EOL semi-colons optional in the CSS. If they're missing and the
CSS doesn't render correctly, other tests will catch that. If they
are on the last property of the ruleset, they technically aren't
required so we shouldn't require them?
* chore: apply review suggestions
Apply review suggestions from gikf
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
* chore: apply suggestions from code review
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
* feat: review suggestions
Apply Ahmad's review suggestions.
* chore: additional suggestions
Manual application of Ahmad's review suggestions.
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
* chore: apply suggestions from code review
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
* chore: apply shaun's review suggestions
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
* feat: add clarification
Add a bit of text clarifying the file switch in the editor.
* chore: replace URLs
Replace the tinyurls with our self-hosted CDN images.
* feat: new CSS tests
Re-write CSS tests with new parser.
* fix: grammar
Apply Shaun's grammar reviews.
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
* fix: optional chaining
* chore: apply suggestions from code review
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* chore: apply reviews manually
* chore: getStyle update
Replace getStyleDeclaration with getStyle.
* fix: resolve test issue
* chore: remove jQuery :(
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* chore: apply suggestions from code review
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* fiux: Update curriculum/challenges/english/01-responsive-web-design/basic-css-cafe-menu/part-073.md
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* feat: created step instructions for cafe menu
fix: added instructions to steps 1-31
fix: changed steps 29-31
fix: added instructions for steps 32-42
fix: changed prototype class definition
fix: padded file names
fix: added instructions for steps 43-61
fix: add object id to final.md and final prototype to meta.json
fix: correct typos in steps 26 and 27
fix: misc wording changes
fix: added forward slash to closing html tag
fix: added instructions for steps 62-75
feat: added instructions to steps 76-79
fix: added FOOTER comment for steps 68-75
fix: add steps 68a and 68b
fix: add steps 69a and reorder steps
fix: added instructions to the final steps
* fix: remove final.md
* fix: fixed typo of menue to menu
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* fix: changed wording to improve readability
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* fix: changed wording to improve readability
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* fix: changed wording to improve readability
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
* fix: combined two lines into same paragraph
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>