score:1

export default function App() {
const [seconds, setSecond]= useState(0);

const handleSeondChange = (event)=>{
  setSecond(event.currentTarget.value);
}
return (
  <div className="App">
    <input name ="seconds" value={seconds} onChange={handleSecondChange}/>
  </div>
 );
}

Related Query

More Query from same tag