We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1cd091 commit 68415f3Copy full SHA for 68415f3
src/All Assessment/assessment24/FormValidation.jsx
@@ -1,6 +1,19 @@
1
-import React from 'react'
+import React, { useState } from 'react'
2
3
const FormValidation = () => {
4
+ const [name, setName] = useState('');
5
+ const [email, setEmail] = useState('');
6
+ const [password, setPassword] = useState('');
7
+
8
+ const handleName = (e) => {
9
+ setName(e.target.value)
10
+ }
11
+ const handleEmail = (e) => {
12
13
14
+ const handlePassword = (e) => {
15
16
17
18
const handleForm = () => {
19
alert("sameer")
0 commit comments