Code Fellows courses Notes
This project is maintained by QamarAlkhatib
after adding the setState on the ChangeInput function, we can target the event as event.target.value
if(x===y){
console.log(true);
}else {
console.log(false);
}
Using ternary statment:
x===y ? true : false;