--- id: 5a24c314108439a4d4036160 title: Define an HTML Class in JSX challengeType: 6 isRequired: false videoUrl: '' localeTitle: تحديد فئة HTML في JSX --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert.strictEqual(JSX.type, "div", "The constant JSX should return a div element.");' - text: '' testString: 'assert.strictEqual(JSX.props.className, "myDiv", "The div has a class of myDiv.");' ```
## Challenge Seed
```jsx const JSX = (

Add a class to this div

); ```
### After Test
```js console.info('after the test'); ```
## Solution
```js // solution required ```