If someone asks me to study the React offical tutorial when I have no experience with this library, then I think I will close the tab immediately…

The good way to learn a new technique is **Just Do It** So, let’s start with a small example, a form validation (not todolist)

The first pic is what we want to do today. When user click the submit and all blanks are empty, the bottom will show a warning message “Please fill all blank”; and if you fill one of the blanks and the value does not meet the required format, the…



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store