Fix all errors and warnings on homepage

Also onChange instead of onInput!