* fix(curriculum): use mediaText in CSSHelp
prevent selection of style elements with class or media attributes
this should avoid picking up some browser extensions
* fix(api): return json for delete + reset-progress
* refactor(api): make .json calls explicit
These .send() calls had objects as arguments. Using .json() makes it
explicit without changing behaviour.
* fix: return json or redirectWithFlash
We should never be getting requests for plain text, but if we do they
should be redirected back to the client.
* fix: prioritize JSON responses
If accepted, respond with JSON. If not, it's probably a bad request.
* fix(curriculum): allow any response status for error response
* Update curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/timestamp-microservice.md
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/timestamp-microservice.md
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* feat: update titles for certification pages
* fix: update titles in Cypress tests
* fix: change "certificate" to "certification" in intro-page.js test file
* fix: prevent adding "Certification" to title for interview prep, make variable name more clear
* feat: add test for coding interview prep page title
* docs: test translations locally
Brief documentation on enabling a new language in the codebase.
* fix(docs): apply review suggestions
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
* fix(docs): move sidebar link
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
- Added a link to the local setup guide
- Tightened language around git version verification
- Reordered some wording to make it clearer that Docker can be used multiple types of databases
- Added "the" for flow
* Adding more than one stack item to the stack tests for #42322
* fix(curriculum): improved peek, pop and clear tests
tests that peek does not remove top element and pop does remove top element and addded an element to the stack for the clear test
* fix: rework challenge to use argument in function
* fix: add solution
* fix: use MathJax to improve look of math notation
* fix: corrections from review
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
* fix: define test arrays in background
* fix: add solution
* fix: position block evenly between paragraphs
* fix: include rules from external link
* fix: change to preferred version of spelling
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
* fix: improve wording
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>