SyntaxFix
Write A Post
Hire A Developer
Questions
For React you must use it's per-define keywords to define html attributes.
class -> className
class
className
is used and
for -> htmlFor
for
htmlFor
is used, as react is case sensitive make sure you must follow small and capital as required.