added hints, updated formatting (#33488)
This commit is contained in:
@ -1,9 +1,13 @@
|
|||||||
---
|
---
|
||||||
title: Create a Complex JSX Element
|
title: Create a Complex JSX Element
|
||||||
---
|
---
|
||||||
## Create a Complex JSX Element
|
# Create a Complex JSX Element
|
||||||
|
|
||||||
Hint:
|
## 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
|
||||||
|
|
||||||
```html
|
```html
|
||||||
const JSX = <div>
|
const JSX = <div>
|
||||||
|
Reference in New Issue
Block a user