THE standard code of the homework_Build a UI