ReactJS CSS Class not working ReactJS CSS Class not working reactjs reactjs

ReactJS CSS Class not working


Replace it with

return (      <div>        <Row>          <form className="orderform">

As JSX uses className not class, from the DOCS

Since JSX is JavaScript, identifiers such as class and for are discouraged as XML attribute names. Instead, React DOM components expect DOM property names like className and htmlFor, respectively.