From 83a6854243f1b4447ff7fb46865f22e335cf074d Mon Sep 17 00:00:00 2001 From: Omar Rafiq <119431390+omarraf@users.noreply.github.com> Date: Fri, 2 May 2025 07:53:00 -0700 Subject: [PATCH] fix(curriculum): Reword adjacent code elements for improved Crowdin compatibility (#60090) Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> Co-authored-by: Ilenia <26656284+ilenia-magoni@users.noreply.github.com> --- .../6733ffb59c62ee4a23522efe.md | 2 +- .../672bd658c0e190f674a5e057.md | 2 +- .../6733dd694f91d61a5272b4ac.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/25-front-end-development/lecture-working-with-client-side-storage-and-crud-operations/6733ffb59c62ee4a23522efe.md b/curriculum/challenges/english/25-front-end-development/lecture-working-with-client-side-storage-and-crud-operations/6733ffb59c62ee4a23522efe.md index 5a306451ae4..bfbf6bbbb9f 100644 --- a/curriculum/challenges/english/25-front-end-development/lecture-working-with-client-side-storage-and-crud-operations/6733ffb59c62ee4a23522efe.md +++ b/curriculum/challenges/english/25-front-end-development/lecture-working-with-client-side-storage-and-crud-operations/6733ffb59c62ee4a23522efe.md @@ -84,7 +84,7 @@ request.onsuccess = function(event) { }; ``` -This code retrieves the customer with `id` `1` from our `"customers"` object store. +This code retrieves the customer with `id` of `1` from our `"customers"` object store. One of the key features of `IndexedDB` is that it's asynchronous. diff --git a/curriculum/challenges/english/25-front-end-development/lecture-working-with-css-flexbox/672bd658c0e190f674a5e057.md b/curriculum/challenges/english/25-front-end-development/lecture-working-with-css-flexbox/672bd658c0e190f674a5e057.md index 408ae19314e..5168234e850 100644 --- a/curriculum/challenges/english/25-front-end-development/lecture-working-with-css-flexbox/672bd658c0e190f674a5e057.md +++ b/curriculum/challenges/english/25-front-end-development/lecture-working-with-css-flexbox/672bd658c0e190f674a5e057.md @@ -18,7 +18,7 @@ Flex properties are properties that you can apply to flex containers to determin Let's start with `flex-wrap`. This property determines how flex items are wrapped within a flex container to fit the available space. `flex-wrap` can take three possible values: `nowrap`, `wrap`, and `wrap-reverse`. `nowrap` is the default value—flex items won't be wrapped onto a new line, even if their width exceeds the container's width. -In the code below, we have three `div` elements. Let's focus on the `width`. The `main` container with the `red` `border` has a `width` of `200px`, while its three child `div` elements combined have a `width` of `240px` (`80px` each): +In the code below, we have three `div` elements. Let's focus on the `width`. The `main` container bordered in red has a `width` of `200px`, while its three child `div` elements combined have a `width` of `240px` (`80px` each): ```css main { diff --git a/curriculum/challenges/english/25-front-end-development/lecture-working-with-maps-and-sets/6733dd694f91d61a5272b4ac.md b/curriculum/challenges/english/25-front-end-development/lecture-working-with-maps-and-sets/6733dd694f91d61a5272b4ac.md index 02536cebc05..4c6fda2f790 100644 --- a/curriculum/challenges/english/25-front-end-development/lecture-working-with-maps-and-sets/6733dd694f91d61a5272b4ac.md +++ b/curriculum/challenges/english/25-front-end-development/lecture-working-with-maps-and-sets/6733dd694f91d61a5272b4ac.md @@ -125,7 +125,7 @@ Here are the differences between a `Map` and a `WeakMap`: | --- | --- | --- | | **Key Type** | Keys can be of any data type, including strings, numbers, objects, or even functions. | Keys must be objects. | | **Use Case** | Use a `Map` when you need to associate data with any type of key. | Use a `WeakMap` when you only need to associate data with objects. | -| **Iteration** | You can loop through a `Map` using `forEach()` `keys()`, `values()`, or `entries()`. | A `WeakMap` is not iterable. | +| **Iteration** | You can loop through a `Map` using `forEach()`, `keys()`, `values()`, or `entries()`. | A `WeakMap` is not iterable. | | **Size Property** | `Map` has a `size` property to get the number of key-value pairs. | `WeakMap` does not have a `size` property. | In the table above, you can see the differences summarized including the key type, use case, iteration and size property. Please take a moment to read the content of this table to learn more about their differences.