diff --git a/curriculum/challenges/english/blocks/learn-how-to-describe-places-and-events/66b5265d9f0913990849c5b8.md b/curriculum/challenges/english/blocks/learn-how-to-describe-places-and-events/66b5265d9f0913990849c5b8.md index 0652f95bcba..c1f9f7994cf 100644 --- a/curriculum/challenges/english/blocks/learn-how-to-describe-places-and-events/66b5265d9f0913990849c5b8.md +++ b/curriculum/challenges/english/blocks/learn-how-to-describe-places-and-events/66b5265d9f0913990849c5b8.md @@ -34,7 +34,7 @@ To avoid completely password security. ### --feedback-- -`Touch on` doesn't mean to to avoid a topic. +`Touch on` doesn't mean to avoid a topic. --- diff --git a/curriculum/challenges/english/blocks/lecture-debugging-techniques/6733becf4b0c353553b9bfa4.md b/curriculum/challenges/english/blocks/lecture-debugging-techniques/6733becf4b0c353553b9bfa4.md index 583baca7f36..07629a3650e 100644 --- a/curriculum/challenges/english/blocks/lecture-debugging-techniques/6733becf4b0c353553b9bfa4.md +++ b/curriculum/challenges/english/blocks/lecture-debugging-techniques/6733becf4b0c353553b9bfa4.md @@ -9,7 +9,7 @@ dashedName: how-does-the-debugger-statement-work The `debugger` statement is a powerful JavaScript tool that lets you pause your code at a specific line to investigate what's going on in the program. When used correctly, the `debugger` statement can save you a lot of time trying to figure out why something is not working as it should. -JavaScript executes your code from top to bottom. While JavaScript executes your code and hits a `debugger` statement, it immediately pauses execution at that line. This gives you the chance to inspect variables, check functions, and the flow of of the code in general. +JavaScript executes your code from top to bottom. While JavaScript executes your code and hits a `debugger` statement, it immediately pauses execution at that line. This gives you the chance to inspect variables, check functions, and the flow of the code in general. With that, you can see exactly what is going right or wrong. However, this only happens if your browser's developer tools are open. Otherwise, the `debugger` statement is ignored, and the code continues to run as usual. diff --git a/curriculum/challenges/english/blocks/lecture-react-strategies-and-debugging/67d2f5b78609f97400923f7f.md b/curriculum/challenges/english/blocks/lecture-react-strategies-and-debugging/67d2f5b78609f97400923f7f.md index 6db699c190c..8d214620f80 100644 --- a/curriculum/challenges/english/blocks/lecture-react-strategies-and-debugging/67d2f5b78609f97400923f7f.md +++ b/curriculum/challenges/english/blocks/lecture-react-strategies-and-debugging/67d2f5b78609f97400923f7f.md @@ -142,7 +142,7 @@ Another option to consider is Zustand. Zustand is a lightweight state management library with a simple API. It is based on hooks, so there's less boilerplate compared to Redux, making it easier and quicker to set up. -Zustand is ideal for small to medium-scale applications. It works by using a `useStore` hook to access access state directly in components and pages. This lets you modify and access data without needing actions, reducers, or a provider. +Zustand is ideal for small to medium-scale applications. It works by using a `useStore` hook to access state directly in components and pages. This lets you modify and access data without needing actions, reducers, or a provider. Here's a `useCounterStore` that implements another counter functionality: diff --git a/curriculum/challenges/english/blocks/lecture-understanding-computer-internet-and-tooling-basics/672ab82c1a9bbd0e3aabc39d.md b/curriculum/challenges/english/blocks/lecture-understanding-computer-internet-and-tooling-basics/672ab82c1a9bbd0e3aabc39d.md index acd8a369c47..98f1d5f438f 100644 --- a/curriculum/challenges/english/blocks/lecture-understanding-computer-internet-and-tooling-basics/672ab82c1a9bbd0e3aabc39d.md +++ b/curriculum/challenges/english/blocks/lecture-understanding-computer-internet-and-tooling-basics/672ab82c1a9bbd0e3aabc39d.md @@ -23,7 +23,7 @@ Another tip is to keep your mouse the same height as your keyboard. You don't wa You also want to be mindful of your overall posture when sitting at the computer for hours on end. Being slouched over your computer and putting your wrist in an unnatural position at the keyboard will lead to long-term health issues. So, you want to make sure to sit up straight when working at your computer and maintain a healthy and natural wrist position. -The last tip would be to use keyboard shortcuts whenever possible to help minimize typing. There are dozens of shortcuts available for tasks such as navigating the web, navigating around your operating system, working within a code editor, and more. So, it’s best to research some of these keyboard shortcuts and and start incorporating them into your daily computer usage. +The last tip would be to use keyboard shortcuts whenever possible to help minimize typing. There are dozens of shortcuts available for tasks such as navigating the web, navigating around your operating system, working within a code editor, and more. So, it’s best to research some of these keyboard shortcuts and start incorporating them into your daily computer usage. As you continue using your mouse and keyboard for upcoming coding projects and other activities, remember to keep these health tips in mind. diff --git a/curriculum/challenges/english/blocks/lecture-working-with-loops-and-sequences/6839e38cdf93ee5a00c79676.md b/curriculum/challenges/english/blocks/lecture-working-with-loops-and-sequences/6839e38cdf93ee5a00c79676.md index 1921b6e4ffd..56c82dadb9d 100644 --- a/curriculum/challenges/english/blocks/lecture-working-with-loops-and-sequences/6839e38cdf93ee5a00c79676.md +++ b/curriculum/challenges/english/blocks/lecture-working-with-loops-and-sequences/6839e38cdf93ee5a00c79676.md @@ -97,7 +97,7 @@ numbers.clear() print(numbers) # [] ``` -The next method we will take a look at is the the `sort()` method. This method is used to sort the elements in place. Here is an example of sorting a random list of numbers in place: +The next method we will take a look at is the `sort()` method. This method is used to sort the elements in place. Here is an example of sorting a random list of numbers in place: ```py numbers = [19, 2, 35, 1, 67, 41] @@ -120,7 +120,7 @@ As a reminder, an iterable is a special type of object that you can loop over, a Both the `sort()` method and `sorted()` function accept optional `key` and `reverse` parameters. You will learn more about these optional parameters in a future lesson when you learn about tuples. You'll also learn more about other built-in functions like `sorted()` in future lessons. -The next method we will take a look at is the the `reverse()` method. This method, will reverse a list of elements in place like this: +The next method we will take a look at is the `reverse()` method. This method, will reverse a list of elements in place like this: ```py numbers = [6, 5, 4, 3, 2, 1] diff --git a/curriculum/challenges/english/blocks/lecture-working-with-relational-databases/687ea8a88c9e9419af7cd8c3.md b/curriculum/challenges/english/blocks/lecture-working-with-relational-databases/687ea8a88c9e9419af7cd8c3.md index 1997e472b96..752fc86d51b 100644 --- a/curriculum/challenges/english/blocks/lecture-working-with-relational-databases/687ea8a88c9e9419af7cd8c3.md +++ b/curriculum/challenges/english/blocks/lecture-working-with-relational-databases/687ea8a88c9e9419af7cd8c3.md @@ -114,7 +114,7 @@ The result will only include dogs whose age is less than 3: 2 | Nora | 2 ``` -If you are just trying to find the `age` of `'Gino'`, you can you can use the equals (`=`) comparison operator: +If you are just trying to find the `age` of `'Gino'`, you can use the equals (`=`) comparison operator: ```sql SELECT age diff --git a/curriculum/challenges/english/blocks/quiz-css-typography/66ed9010f45ce3ece4053eb8.md b/curriculum/challenges/english/blocks/quiz-css-typography/66ed9010f45ce3ece4053eb8.md index 6846117f7b8..84ee4f4dc02 100644 --- a/curriculum/challenges/english/blocks/quiz-css-typography/66ed9010f45ce3ece4053eb8.md +++ b/curriculum/challenges/english/blocks/quiz-css-typography/66ed9010f45ce3ece4053eb8.md @@ -793,7 +793,7 @@ It is the weight of the font. --- -It is the size of the the font. +It is the size of the font. --- diff --git a/curriculum/challenges/english/blocks/quiz-javascript-math/66edc3ab8c6413c344f401bf.md b/curriculum/challenges/english/blocks/quiz-javascript-math/66edc3ab8c6413c344f401bf.md index 7be29f8a609..80f6104ebac 100644 --- a/curriculum/challenges/english/blocks/quiz-javascript-math/66edc3ab8c6413c344f401bf.md +++ b/curriculum/challenges/english/blocks/quiz-javascript-math/66edc3ab8c6413c344f401bf.md @@ -390,7 +390,7 @@ Operator precedence is used to raise a variable to the power of the specified nu --- -Operator precedence is used to to increase the value by one. +Operator precedence is used to increase the value by one. #### --answer-- diff --git a/curriculum/challenges/english/blocks/review-python-basics/67f39b40deaec81a3e40e0c5.md b/curriculum/challenges/english/blocks/review-python-basics/67f39b40deaec81a3e40e0c5.md index 978ee4f7838..5fddf0455a0 100644 --- a/curriculum/challenges/english/blocks/review-python-basics/67f39b40deaec81a3e40e0c5.md +++ b/curriculum/challenges/english/blocks/review-python-basics/67f39b40deaec81a3e40e0c5.md @@ -46,7 +46,7 @@ age = 25 ```py """ -This is is a multi-line string. +This is a multi-line string. Here is some code commented out. name = 'John Doe' diff --git a/curriculum/challenges/english/blocks/review-python/67f39e391c9b373069def02c.md b/curriculum/challenges/english/blocks/review-python/67f39e391c9b373069def02c.md index 1261ef024b8..40f6b4854b0 100644 --- a/curriculum/challenges/english/blocks/review-python/67f39e391c9b373069def02c.md +++ b/curriculum/challenges/english/blocks/review-python/67f39e391c9b373069def02c.md @@ -46,7 +46,7 @@ age = 25 ```py """ -This is is a multi-line string. +This is a multi-line string. Here is some code commented out. name = 'John Doe' diff --git a/curriculum/challenges/english/blocks/review-react-forms-data-fetching-and-routing/67c9e932c6c4234532d46394.md b/curriculum/challenges/english/blocks/review-react-forms-data-fetching-and-routing/67c9e932c6c4234532d46394.md index 442be8dc2d3..a9b358afdc0 100644 --- a/curriculum/challenges/english/blocks/review-react-forms-data-fetching-and-routing/67c9e932c6c4234532d46394.md +++ b/curriculum/challenges/english/blocks/review-react-forms-data-fetching-and-routing/67c9e932c6c4234532d46394.md @@ -480,7 +480,7 @@ export { CounterContext, CounterProvider }; - **Redux**: Redux handles state management by providing a central store and strict control over state updates. It uses a predictable pattern with actions, reducers, and middleware. Actions are payloads of information that send data from your application to the Redux store, often triggered by user interactions. Reducers are functions that specify how the state should change in response to those actions, ensuring the state is updated in an immutable way. Middleware, on the other hand, acts as a bridge between the action dispatching and the reducer, allowing you to extend Redux's functionality (e.g., logging, handling async operations) without modifying the core flow. -- **Zustand**: This state management solution is ideal for small to medium-scale applications. It works by using a `useStore` hook to access access state directly in components and pages. This lets you modify and access data without needing actions, reducers, or a provider. +- **Zustand**: This state management solution is ideal for small to medium-scale applications. It works by using a `useStore` hook to access state directly in components and pages. This lets you modify and access data without needing actions, reducers, or a provider. ## Debugging React Components Using the React DevTools diff --git a/e2e/daily-coding-challenge.spec.ts b/e2e/daily-coding-challenge.spec.ts index b0586353a3c..cbc608163c1 100644 --- a/e2e/daily-coding-challenge.spec.ts +++ b/e2e/daily-coding-challenge.spec.ts @@ -177,7 +177,7 @@ test.describe('Daily Coding Challenges', () => { '// JavaScript seed code' ); - // Show show Python UI after changing language + // Show Python UI after changing language await page.getByRole('button', { name: /python/i }).click(); await expect(page.getByRole('button', { name: /main.py/i })).toBeVisible();