Module 3 – Compose a user interface you can describe
Read the interface before adding interaction
The Widget interface requires a describe() string method. The provided widgets meet that contract. To inspect a child directly, preview a Text or Button instance rather than assuming the column preview will display its contents. A button label is descriptive data here; the released struct has no click callback field.
An AI-generated on_click property would need a real documented definition before you could use it. For this module, sketch the desired action in your notebook and build only the supported description. Keep the difference visible in your project review: intended user behavior is a design proposal; a printed widget description is observed sandbox behavior.
Complete this lesson
Answer every check correctly to earn your lesson certificate. Feedback helps you review and try again.
Sign in · Save your progress and earn a certificate for this lesson.