is
event.target.value
Basically just syntax or something? Im confused how it gathers the input because there is no object called event that has properties target and value.
Thanks,
Andrej
is
event.target.value
Basically just syntax or something? Im confused how it gathers the input because there is no object called event that has properties target and value.
Thanks,
Andrej
This is what it said
" First, create a method called handleChange() that has a parameter called event . When the method is called, it receives an event object that contains a string of text from the input element. You can access this string with event.target.value inside the method. Update the input property of the component’s state with this new string."