fix(curriculum): wording fixes (#57502)

This commit is contained in:
Oliver Eyton-Williams
2024-12-12 18:53:21 +01:00
committed by GitHub
parent 827b9e3ecd
commit 4b4aa2b806
5 changed files with 5 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ You will use a weather API. The output data has the following format:
1. You should have a `button` element with an `id` of `get-forecast`.
1. You should have a `select` element with seven `option` elements nested within it. The first option should have an empty string as its text and `value` attribute. The rest should have the follow for their text and values (with the value being lowercase):
1. You should have a `select` element with seven `option` elements nested within it. The first option should have an empty string as its text and `value` attribute. The rest should have the following for their text and values (with the value being lowercase):
- New York
- Los Angeles
- Chicago

View File

@@ -14,7 +14,7 @@ Watch the lecture video and answer the questions below.
## --text--
Which of the follow is considered an unsafe password?
Which of the following is considered an unsafe password?
## --answers--

View File

@@ -68,7 +68,7 @@ ul li {
}
```
- **Next-sibling Combinator (`+`)**: This combinator selects an element that immediately follows a specified sibling element. The following example will select the paragraph element that immediately follow the `h2` element.
- **Next-sibling Combinator (`+`)**: This combinator selects an element that immediately follows a specified sibling element. The following example will select the paragraph element that immediately follows the `h2` element.
```html
<h2>I am a sub heading</h2>

View File

@@ -35,7 +35,7 @@ Review the concepts below to prepare for the upcoming exam.
- **Descendant Combinator**: This combinator is used to target elements that are descendants of a specified parent element. The following example will target all `li` items inside `ul` elements.
- **Child Combinator (`>`)**: This combinator is used to select elements that are direct children of a specified parent element. The following example will target all `p` elements that are direct children of the `container` class.
- **Next-sibling Combinator (`+`)**: This combinator selects an element that immediately follows a specified sibling element. The following example will select the paragraph element that immediately follow the `h2` element.
- **Next-sibling Combinator (`+`)**: This combinator selects an element that immediately follows a specified sibling element. The following example will select the paragraph element that immediately follows the `h2` element.
- **Subsequent-sibling Combinator (`~`)**: This combinator selects all siblings of a specified element that come after it. The following example will style only the second paragraph element because it is the only one that is a sibling of the `ul` element and share the same parent.

View File

@@ -7,7 +7,7 @@ dashedName: step-49
# --description--
Color-stops allow you to fine-tune where colors are placed along the gradient line. They are a length unit like `px` or percentages that follow a color in the `linear-gradient` function.
Color-stops allow you to fine-tune where colors are placed along the gradient line. They are used in the `linear-gradient` function to specify where a color ends and the transition to the next color begins. Either a percentage or a length value can be used to define the color-stop position.
For example, in this red-black gradient, the transition from red to black takes place at the 90% point along the gradient line, so red takes up most of the available space: