lesson 4 : todo state toggle and title editing, className switching and styles