fix(learn): Updated code blocks to help with translation on two challenges (#41217)

This commit is contained in:
Randell Dawson
2021-02-21 22:51:59 -07:00
committed by GitHub
parent 5189655aec
commit f4bbe3f34c
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ The `hsl()` option in CSS also makes it easy to adjust the tone of a color. Mixi
# --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--

View File

@ -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:
`var sandwich = ["peanut butter", "jelly", "bread"]`.
`var sandwich = ["peanut butter", "jelly", "bread"]`
# --instructions--