fix(curriculum): reword colour-marker step 11 and 12 (#48269)

added wording changes for easier understanding
pull/48279/head
Dylan R 2022-10-27 07:18:31 -06:00 committed by GitHub
parent 2ae2c38be2
commit 65644c420d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -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.

View File

@ -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--