fix(learn): Updated code blocks to help with translation on two challenges (#41217)
This commit is contained in:
@ -13,7 +13,7 @@ The `hsl()` option in CSS also makes it easy to adjust the tone of a color. Mixi
|
|||||||
|
|
||||||
# --instructions--
|
# --instructions--
|
||||||
|
|
||||||
All elements have a default `background-color` of `transparent`. Our `nav` element currently appears to have a `cyan` background, because the element behind it has a `background-color` set to `cyan`. Add a `background-color` to the `nav` element so it uses the same `cyan` hue, but has `80% saturation` and `25% lightness` values to change its tone and shade.
|
All elements have a default `background-color` of `transparent`. Our `nav` element currently appears to have a `cyan` background, because the element behind it has a `background-color` set to `cyan`. Add a `background-color` to the `nav` element so it uses the same `cyan` hue, but has `80%` saturation and `25%` lightness values to change its tone and shade.
|
||||||
|
|
||||||
# --hints--
|
# --hints--
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ With JavaScript `array` variables, we can store several pieces of data in one pl
|
|||||||
|
|
||||||
You start an array declaration with an opening square bracket, end it with a closing square bracket, and put a comma between each entry, like this:
|
You start an array declaration with an opening square bracket, end it with a closing square bracket, and put a comma between each entry, like this:
|
||||||
|
|
||||||
`var sandwich = ["peanut butter", "jelly", "bread"]`.
|
`var sandwich = ["peanut butter", "jelly", "bread"]`
|
||||||
|
|
||||||
# --instructions--
|
# --instructions--
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user