Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I recommend checking out this portfolio as an example for what looks good stylistically: https://brittanychiang.com
Linting, and code formatting either with Prettier or using your linter, will improve the quality of your code immensely and help you concentrate on the functionality.
Just want to point out that using a linter like ESLint will highlight a lot of issues like this for you, even when writing React with JSX. It can be configured almost infinitely, but there are many great presets to get started (the defaults are pretty nice on their own).
You can try this out. Also check out React responsive.