fix(guide): restructure curriculum guide articles (#36501)
* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
This commit is contained in:
@@ -3,11 +3,21 @@ title: Create a Complex JSX Element
|
||||
---
|
||||
# Create a Complex JSX Element
|
||||
|
||||
## Hint
|
||||
- nested JSX must return a single, top level element
|
||||
- Ensure your solution has a parent `div` containing an `h1`, a `p`, and an unordered list (`ul`) that contains three `li` items
|
||||
|
||||
## Solution
|
||||
---
|
||||
## Hints
|
||||
|
||||
### Hint 1
|
||||
Nested JSX must return a single, top level element
|
||||
|
||||
### Hint 2
|
||||
Ensure your solution has a parent `div` containing an `h1`, a `p`, and an unordered list (`ul`) that contains three `li` items
|
||||
|
||||
|
||||
---
|
||||
## Solutions
|
||||
|
||||
<details><summary>Solution 1 (Click to Show/Hide)</summary>
|
||||
|
||||
```html
|
||||
const JSX = <div>
|
||||
@@ -20,3 +30,4 @@ const JSX = <div>
|
||||
</ul>
|
||||
</div>;
|
||||
```
|
||||
</details>
|
||||
|
Reference in New Issue
Block a user