chore: resolve flagged Crowdin issues (#45442)
* chore: resolve bengali issues * chore: resolve french issues * chore: resolve hebrew issues * chore: resolve persian issues * chore: resolve portuguese brazilian issues * chore: resolve russian issues * chore: resolve spanish issues * chore: resolve japanese issues
This commit is contained in:
@ -11,7 +11,7 @@ dashedName: change-a-variable-for-a-specific-area
|
||||
|
||||
When you create your variables in `:root` they will set the value of that variable for the whole page.
|
||||
|
||||
You can then over-write these variables by setting them again within a specific element.
|
||||
You can then over-write these variables by setting them again within a specific selector.
|
||||
|
||||
# --instructions--
|
||||
|
||||
@ -27,7 +27,7 @@ assert(
|
||||
);
|
||||
```
|
||||
|
||||
The `penguin` class should not contain the `background-color` property
|
||||
The `penguin` class should not contain the `background-color` property.
|
||||
|
||||
```js
|
||||
assert(
|
||||
|
@ -15,7 +15,7 @@ To create a CSS variable, you just need to give it a name with two hyphens in fr
|
||||
--penguin-skin: gray;
|
||||
```
|
||||
|
||||
This will create a variable named `--penguin-skin` and assign it the value of `gray`. Now you can use that variable elsewhere in your CSS to change the value of other elements to gray.
|
||||
This will create a variable named `--penguin-skin` and assign it the value of `gray`. Now you can use that variable elsewhere in your CSS to change the value of other properties to gray.
|
||||
|
||||
# --instructions--
|
||||
|
||||
|
@ -77,7 +77,7 @@ assert(
|
||||
);
|
||||
```
|
||||
|
||||
Your `h1` element should inherit the color green from your `body` element.
|
||||
Your `h1` element should inherit the color `green` from your `body` element.
|
||||
|
||||
```js
|
||||
assert($('h1').length > 0 && $('h1').css('color') === 'rgb(0, 128, 0)');
|
||||
|
@ -27,7 +27,7 @@ class="class1 class2"
|
||||
|
||||
**Note:** It doesn't matter which order the classes are listed in the HTML element.
|
||||
|
||||
However, the order of the `class` declarations in the `<style>` section is what is important. The second declaration will always take precedence over the first. Because `.blue-text` is declared second, it overrides the attributes of `.pink-text`
|
||||
However, the order of the `class` declarations in the `<style>` section is what is important. The second declaration will always take precedence over the first. Because `.blue-text` is declared second, it overrides the attributes of `.pink-text`.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
@ -15,7 +15,7 @@ For instance, when your screen is smaller or larger than your media query break
|
||||
|
||||
# --instructions--
|
||||
|
||||
In the `:root` selector of the `media query`, change it so `--penguin-size` is redefined and given a value of `200px`. Also, redefine `--penguin-skin` and give it a value of `black`. Then resize the preview to see this change in action.
|
||||
In the `:root` selector of the media query, change it so `--penguin-size` is redefined and given a value of `200px`. Also, redefine `--penguin-skin` and give it a value of `black`. Then resize the preview to see this change in action.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
@ -29,7 +29,7 @@ Your `h1` element with the text `I am red!` should be given the `color` red.
|
||||
assert($('.red-text').css('color') === 'rgb(255, 0, 0)');
|
||||
```
|
||||
|
||||
The abbreviated `hex code` for the color red should be used instead of the hex code `#FF0000`.
|
||||
The abbreviated hex code for the color red should be used instead of the hex code `#FF0000`.
|
||||
|
||||
```js
|
||||
assert(code.match(/\.red-text\s*?{\s*?color\s*:\s*?#F00\s*?;?\s*?}/gi));
|
||||
@ -41,7 +41,7 @@ Your `h1` element with the text `I am green!` should be given the `color` green.
|
||||
assert($('.green-text').css('color') === 'rgb(0, 255, 0)');
|
||||
```
|
||||
|
||||
The abbreviated `hex code` for the color green should be used instead of the hex code `#00FF00`.
|
||||
The abbreviated hex code for the color green should be used instead of the hex code `#00FF00`.
|
||||
|
||||
```js
|
||||
assert(code.match(/\.green-text\s*?{\s*?color\s*:\s*?#0F0\s*?;?\s*?}/gi));
|
||||
@ -53,7 +53,7 @@ Your `h1` element with the text `I am cyan!` should be given the `color` cyan.
|
||||
assert($('.cyan-text').css('color') === 'rgb(0, 255, 255)');
|
||||
```
|
||||
|
||||
The abbreviated `hex code` for the color cyan should be used instead of the hex code `#00FFFF`.
|
||||
The abbreviated hex code for the color cyan should be used instead of the hex code `#00FFFF`.
|
||||
|
||||
```js
|
||||
assert(code.match(/\.cyan-text\s*?{\s*?color\s*:\s*?#0FF\s*?;?\s*?}/gi));
|
||||
@ -65,7 +65,7 @@ Your `h1` element with the text `I am fuchsia!` should be given the `color` fuch
|
||||
assert($('.fuchsia-text').css('color') === 'rgb(255, 0, 255)');
|
||||
```
|
||||
|
||||
The abbreviated `hex code` for the color fuchsia should be used instead of the hex code `#FF00FF`.
|
||||
The abbreviated hex code for the color fuchsia should be used instead of the hex code `#FF00FF`.
|
||||
|
||||
```js
|
||||
assert(code.match(/\.fuchsia-text\s*?{\s*?color\s*:\s*?#F0F\s*?;?\s*?}/gi));
|
||||
|
@ -27,13 +27,13 @@ Replace the word `black` in our `body` element's background-color with its hex c
|
||||
|
||||
# --hints--
|
||||
|
||||
Your `body` element should have the background-color of black.
|
||||
Your `body` element should have the `background-color` of black.
|
||||
|
||||
```js
|
||||
assert($('body').css('background-color') === 'rgb(0, 0, 0)');
|
||||
```
|
||||
|
||||
The `hex code` for the color black should be used instead of the word `black`.
|
||||
The hex code for the color black should be used instead of the word `black`.
|
||||
|
||||
```js
|
||||
assert(
|
||||
|
Reference in New Issue
Block a user