SyntaxFix
Write A Post
Hire A Developer
Questions
React uses the className attribute, like the DOM.
className
If you use the development build, and look at the console, there's a warning. You can see this on the jsfiddle.
Warning: Unknown DOM property class. Did you mean className?