mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-25 23:02:05 -04:00
fix(curriculum) Simplify Cat-App step 6 text (#46696)
cat-app - simplify step 6 text Co-Authored-By: Njong392 <81039882+Njong392@users.noreply.github.com> Co-authored-by: Njong392 <81039882+Njong392@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1e475614cc
commit
269f21841e
@@ -7,16 +7,16 @@ dashedName: step-6
|
||||
|
||||
# --description--
|
||||
|
||||
In the previous step, you nested the `h2` element, comment, and `p` element within the `main` element. A nested element is a child of its parent element. It should be indented two more spaces than its parent element to improve readability, like this:
|
||||
In the previous step, you nested the `h2` element, comment, and `p` element within the `main` element. Indenting nested elements two more spaces than their parent element improves readability:
|
||||
|
||||
```html
|
||||
<ul>
|
||||
<li> Child Element 1 </li>
|
||||
<li> Child Element 2 </li>
|
||||
<li> This `li` element indented </li>
|
||||
<li> This `li` element is also indented </li>
|
||||
</ul>
|
||||
```
|
||||
|
||||
Add two spaces in front of the three child elements of `main` so your HTML is more readable.
|
||||
Add two more spaces in front of the `h1`, comment, and `p` elements so your HTML is more readable.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user