fix(curriculum): reword colour-marker step 11 and 12 (#48269)
added wording changes for easier understandingpull/48279/head
parent
2ae2c38be2
commit
65644c420d
|
@ -7,7 +7,7 @@ dashedName: step-11
|
|||
|
||||
# --description--
|
||||
|
||||
It's time to add some color to the page. Remember that one way to add color to an element is to use a <dfn>color keyword</dfn> like `black`, `cyan`, or `yellow`.
|
||||
It's time to add some color to the marker. Remember that one way to add color to an element is to use a <dfn>color keyword</dfn> like `black`, `cyan`, or `yellow`.
|
||||
|
||||
As a reminder, here's how to target the class `freecodecamp`:
|
||||
|
||||
|
@ -19,6 +19,8 @@ As a reminder, here's how to target the class `freecodecamp`:
|
|||
|
||||
Create a new CSS rule that targets the class `marker`, and set its `background-color` property to `red`.
|
||||
|
||||
**Note:** You will not see any changes after adding the CSS.
|
||||
|
||||
# --hints--
|
||||
|
||||
You should create a class selector to target the `marker` class.
|
||||
|
|
|
@ -7,9 +7,9 @@ dashedName: step-12
|
|||
|
||||
# --description--
|
||||
|
||||
Notice that your marker doesn't seem to have any color. The background color was actually applied, but since the marker `div` element is empty, it doesn't have any height by default.
|
||||
The background color was applied, but since the marker `div` element is empty, it doesn't have any height by default.
|
||||
|
||||
In your `.marker` CSS rule, set the `width` property to `200px` and the `height` property to `25px`.
|
||||
In your `.marker` CSS rule, set the `height` property to `25px` and the `width` property to `200px`
|
||||
|
||||
# --hints--
|
||||
|
||||
|
|
Loading…
Reference in New Issue