mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): Added clarification for what text-align does (#55026)
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ element {
|
||||
}
|
||||
```
|
||||
|
||||
Center your `h1` element by setting its `text-align` property to the value `center`.
|
||||
Center the content of the `h1` element by setting its `text-align` property to the value `center`.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ dashedName: step-12
|
||||
|
||||
# --description--
|
||||
|
||||
In the previous step, you used a <dfn>type selector</dfn> to style the `h1` element. Center the `h2` and `p` elements by adding a new type selector for each one to the existing `style` element.
|
||||
In the previous step, you used a <dfn>type selector</dfn> to style the `h1` element. Center the content of the `h2` and the `p` elements by adding a new type selector for each one to the existing `style` element.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user