An open API service indexing awesome lists of open source software.

https://github.com/chrisnajman/react-form

Form built with React. Extension of Scrimba React Forms tutorials.
https://github.com/chrisnajman/react-form

controlled-components form-elements html-css-javascript reactjs vitejs

Last synced: about 1 year ago
JSON representation

Form built with React. Extension of Scrimba React Forms tutorials.

Awesome Lists containing this project

README

          

# React Form

- Input data to the form.
- Click 'Submit' to display the output.
- Click 'Reload the page to start again' to clear the output and make the form fields useable again.

> [!NOTE]
> No data is saved.

---

## Scrimba Course Link

The page is an extension of the exercises in the Scrimba course section, beginning with

- [React Forms Intro](https://scrimba.com/learn/learnreact/react-forms-intro-co2774b5e9623a1cad018bc49)

> [!NOTE]
> (Free) subscription and login required to follow the course.

---

## Caveats

`Content.jsx` receives 7 props, while `Form.jsx` receives 25 props!

This feels very wrong, but I wanted to practice passing `state` to child components via `props`.

---

## Testing

Tested on Windows 10 with:

- Chrome
- Firefox
- Microsoft Edge

Page tested in both browser and device views.