https://patrjam.github.io/contact-form/
node > v14.x.xnpm
git clone [email protected]:patrjam/contact-form.gitor equivalentgit clone https://github.com/patrjam/contact-form.git- in root folder:
npm install npm start(app runs on default porthttp://localhost:3000/)
- create simple web app of contact form
- form contains:
name,email,phone,message - mandatory: message, email OR phone
- if email OR phone has invalid format, it is not possible to submit form
- form submit is mocked with javascript function, which calls back after 3s
- if
email='[email protected]', mocked function returns error"Neexistující emailová adresa" - web app is rendered fast
- form is created in React, with functional components
- all implementation details and another technologies are up to you
