--- id: 5a24bbe0dba28a8d3cbd4c5d title: Create a Complex JSX Element challengeType: 6 isRequired: false videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert(JSX.type === "div", "The constant JSX should return a div element.");' - text: '' testString: 'assert(JSX.props.children[1].type === "p", "The div should contain a p tag as the second element.");' - text: '' testString: 'assert(JSX.props.children[2].type === "ul", "The div should contain a ul tag as the third element.");' - text: '' testString: 'assert(JSX.props.children[0].type === "h1", "The div should contain an h1 tag as the first element.");' - text: يجب أن يحتوي الـ ul على ثلاثة عناصر من li . testString: 'assert(JSX.props.children[2].props.children.length === 3, "The ul should contain three li elements.");' ```
## Challenge Seed
```jsx // write your code here ```
### After Test
```js console.info('after the test'); ```
## Solution
```js // solution required ```