Tell us what’s happening:
I am not able to clear second requirement of the challenge. Could anyone please help me where I am going wrong.
Your code so far
const JSX = (
<div class="myDiv">
<h1>Add a class to this div</h1>
</div>
);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/react/define-an-html-class-in-jsx