diff --git a/api-server/src/server/boot/authentication.js b/api-server/src/server/boot/authentication.js index eb115af55c9..c78c3b0fd45 100644 --- a/api-server/src/server/boot/authentication.js +++ b/api-server/src/server/boot/authentication.js @@ -135,7 +135,7 @@ function createGetPasswordlessAuth(app) { ); } // find user then validate and destroy email validation token - // finally retun user instance + // finally return user instance return User.findOne$({ where: { id: authToken.userId } }).flatMap( user => { if (!user) { diff --git a/api-server/src/server/boot/settings.js b/api-server/src/server/boot/settings.js index 12dde623c45..f86a0e25417 100644 --- a/api-server/src/server/boot/settings.js +++ b/api-server/src/server/boot/settings.js @@ -139,7 +139,7 @@ function updateMyPortfolio(...args) { )(...args); } -// This API is reponsible for what campers decide to make public in their porfoile, and what is private. +// This API is responsible for what campers decide to make public in their profile, and what is private. function updateMyProfileUI(req, res, next) { const { user, diff --git a/api/prisma/oldschema.prisma b/api/prisma/oldschema.prisma index 9f91f1d96c3..b416050bcd7 100644 --- a/api/prisma/oldschema.prisma +++ b/api/prisma/oldschema.prisma @@ -21,7 +21,7 @@ type FileData { name String path String? - // Nonesense + // Nonsense dataSource Json? @map("__dataSource") // Null only | Undefined persisted Boolean? @map("__persisted") // Undefined strict Boolean? @map("__strict") // Undefined @@ -34,7 +34,7 @@ type File { name String path String? // Undefined | Null - // Nonesense + // Nonsense cachedRelations Json? @map("__cachedRelations") // Undefined data FileData? @map("__data") // Undefined dataSource Json? @map("__dataSource") // Null | Undefined @@ -48,7 +48,7 @@ type CompletedChallengeData { id String solution String? // Null | Undefined - // Nonesense + // Nonsense dataSource Json? @map("__dataSource") // Null persisted Boolean @map("__persisted") strict Boolean @map("__strict") @@ -91,7 +91,7 @@ type ProfileUIData { showPortfolio Boolean showTimeLine Boolean - // Nonesense + // Nonsense persisted Boolean? @map("__persisted") // Undefined strict Boolean? @map("__strict") // Undefined } @@ -108,7 +108,7 @@ type ProfileUI { showPortfolio Boolean? // Undefined showTimeLine Boolean? // Undefined - // Nonesense + // Nonsense cachedRelations Json? @map("__cachedRelations") // Undefined | {} data ProfileUIData? @map("__data") // Undefined persisted Boolean? @map("__persisted") // Undefined diff --git a/client/src/components/layouts/rtl-layout.css b/client/src/components/layouts/rtl-layout.css index 7b79d6f5e13..e1051cdf179 100644 --- a/client/src/components/layouts/rtl-layout.css +++ b/client/src/components/layouts/rtl-layout.css @@ -139,7 +139,7 @@ sections that need to stay left to right flex-direction: row-reverse; } -/* new Font Family because 'Hack-ZeroSlash' add letter spacing in Arabic letter which is extermely bad */ +/* new Font Family because 'Hack-ZeroSlash' add letter spacing in Arabic letter which is extremely bad */ [dir='rtl'] body, [dir='rtl'] .signup-btn, diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/catch-misspelled-variable-and-function-names.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/catch-misspelled-variable-and-function-names.md index 52e8b72c2d0..c0795c6ea6f 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/catch-misspelled-variable-and-function-names.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/catch-misspelled-variable-and-function-names.md @@ -10,7 +10,7 @@ dashedName: catch-misspelled-variable-and-function-names The `console.log()` and `typeof` methods are the two primary ways to check intermediate values and types of program output. Now it's time to get into the common forms that bugs take. One syntax-level issue that fast typers can commiserate with is the humble spelling error. -Transposed, missing, or mis-capitalized characters in a variable or function name will have the browser looking for an object that doesn't exist - and complain in the form of a reference error. JavaScript variable and function names are case-sensitive. +Transposed, missing, or miscapitalized characters in a variable or function name will have the browser looking for an object that doesn't exist - and complain in the form of a reference error. JavaScript variable and function names are case-sensitive. # --instructions-- diff --git a/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/lu-decomposition.md b/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/lu-decomposition.md index 45759df22aa..9255204dd79 100644 --- a/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/lu-decomposition.md +++ b/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/lu-decomposition.md @@ -80,7 +80,7 @@ $PA = LU$ # --instructions-- -The task is to implement a routine which will take a square nxn matrix $A$ and return a lower triangular matrix $L$, a upper triangular matrix $U$ and a permutation matrix $P$, so that the above equation is fullfilled. The returned value should be in the form `[L, U, P]`. +The task is to implement a routine which will take a square nxn matrix $A$ and return a lower triangular matrix $L$, a upper triangular matrix $U$ and a permutation matrix $P$, so that the above equation is fulfilled. The returned value should be in the form `[L, U, P]`. # --hints-- diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-css-transforms-by-building-a-penguin/619d20b12996101f430920fb.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-css-transforms-by-building-a-penguin/619d20b12996101f430920fb.md index e30a38c98d7..702fecbe8ba 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-css-transforms-by-building-a-penguin/619d20b12996101f430920fb.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-css-transforms-by-building-a-penguin/619d20b12996101f430920fb.md @@ -9,7 +9,7 @@ dashedName: step-82 The penguin's beak and feet share the same `color`. -Create a new custom CSS variable named `--penguin-picorna`, and replace all relavant property values with it. +Create a new custom CSS variable named `--penguin-picorna`, and replace all relevant property values with it. # --hints-- diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa2626c3c10244b94c787b.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa2626c3c10244b94c787b.md index c335f2d7bc9..a1c1c26f120 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa2626c3c10244b94c787b.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62aa2626c3c10244b94c787b.md @@ -11,7 +11,7 @@ Inside `pick`, use `let` to initialize a variable named `numbers` and set it to # --hints-- -Your `pick` function should initalize `numbers` to an empty array `[]`. +Your `pick` function should initialize `numbers` to an empty array `[]`. ```js assert.match(pick.toString(), /numbers\s*=\s*\[\]/); diff --git a/curriculum/challenges/english/17-college-algebra-with-python/learn-simple-and-compound-interest/simple-and-compound-interest.md b/curriculum/challenges/english/17-college-algebra-with-python/learn-simple-and-compound-interest/simple-and-compound-interest.md index 7cce6981cca..b4cada2af12 100644 --- a/curriculum/challenges/english/17-college-algebra-with-python/learn-simple-and-compound-interest/simple-and-compound-interest.md +++ b/curriculum/challenges/english/17-college-algebra-with-python/learn-simple-and-compound-interest/simple-and-compound-interest.md @@ -12,7 +12,7 @@ This video will help you understand the equations of simple and compound interes Here is the Colab notebook to go along with this video. -Here is an additional Colab notebook that shows you one way to put many of these interest and payment forumlas into Python functions. Also you will see an example of using some formulas to output results, notice a trend, and follow up with other formulas to analyze patterns. +Here is an additional Colab notebook that shows you one way to put many of these interest and payment formulas into Python functions. Also you will see an example of using some formulas to output results, notice a trend, and follow up with other formulas to analyze patterns. # --question-- diff --git a/curriculum/challenges/english/18-project-euler/project-euler-problems-1-to-100/problem-50-consecutive-prime-sum.md b/curriculum/challenges/english/18-project-euler/project-euler-problems-1-to-100/problem-50-consecutive-prime-sum.md index 7cd5bc67b14..a35a0846104 100644 --- a/curriculum/challenges/english/18-project-euler/project-euler-problems-1-to-100/problem-50-consecutive-prime-sum.md +++ b/curriculum/challenges/english/18-project-euler/project-euler-problems-1-to-100/problem-50-consecutive-prime-sum.md @@ -101,10 +101,10 @@ class PrimeSeive { }; function consecutivePrimeSum(limit) { - // Initalize seive + // Initialize seive const primeSeive = new PrimeSeive(limit); - // Initalize for longest sum < 100 + // Initialize for longest sum < 100 let bestPrime = 41; let bestI = 0; let bestJ = 5; diff --git a/cypress/e2e/default/learn/redirects/breadcrumbs.ts b/cypress/e2e/default/learn/redirects/breadcrumbs.ts index dc8fabd393e..3d0dd02104d 100644 --- a/cypress/e2e/default/learn/redirects/breadcrumbs.ts +++ b/cypress/e2e/default/learn/redirects/breadcrumbs.ts @@ -4,7 +4,7 @@ const challengeUrl = const superBlockUrl = '/learn/responsive-web-design'; const courseUrl = '/learn/responsive-web-design/#basic-html-and-html5'; -describe('The breadcumbs should work corectly', () => { +describe('The breadcumbs should work correctly', () => { it('It should have a superblock and a course', () => { cy.visit(challengeUrl); cy.get('.ellipsis').contains('Responsive Web Design').and('be.visible'); diff --git a/tools/challenge-editor/client/src/components/editor/editor.css b/tools/challenge-editor/client/src/components/editor/editor.css index 4dc709a3332..77515ad18b9 100644 --- a/tools/challenge-editor/client/src/components/editor/editor.css +++ b/tools/challenge-editor/client/src/components/editor/editor.css @@ -7,7 +7,7 @@ textarea { } .CodeMirror { - /* need to add important to overwrite the specifity of the classes in the dependecy */ + /* need to add important to overwrite the specificity of the classes in the dependency */ height: 70vh !important; max-width: 80vw; margin: auto; diff --git a/tools/challenge-helper-scripts/commands.ts b/tools/challenge-helper-scripts/commands.ts index ea7bc377805..1b7f6d37a04 100644 --- a/tools/challenge-helper-scripts/commands.ts +++ b/tools/challenge-helper-scripts/commands.ts @@ -25,7 +25,7 @@ function deleteStep(stepNum: number): void { deleteStepFromMeta({ stepNum }); updateStepTitles(); - console.log(`Sucessfully deleted step #${stepNum}`); + console.log(`Successfully deleted step #${stepNum}`); } function insertStep(stepNum: number): void { @@ -53,7 +53,7 @@ function insertStep(stepNum: number): void { insertStepIntoMeta({ stepNum, stepId }); updateStepTitles(); - console.log(`Sucessfully inserted new step #${stepNum}`); + console.log(`Successfully inserted new step #${stepNum}`); } function createEmptySteps(num: number): void { @@ -67,7 +67,7 @@ function createEmptySteps(num: number): void { const stepId = createStepFile({ stepNum }); insertStepIntoMeta({ stepNum, stepId }); } - console.log(`Sucessfully added ${num} steps`); + console.log(`Successfully added ${num} steps`); } export { deleteStep, insertStep, createEmptySteps }; diff --git a/tools/ui-components/src/image/image.test.tsx b/tools/ui-components/src/image/image.test.tsx index 1db4ea7351a..98ff21f8595 100644 --- a/tools/ui-components/src/image/image.test.tsx +++ b/tools/ui-components/src/image/image.test.tsx @@ -3,7 +3,7 @@ import React from 'react'; import { Image } from './image'; describe('Render the image', () => { - it('sould render the image with the alt and src attributes', () => { + it('should render the image with the alt and src attributes', () => { render(