Read ODC documentation
Build first screen

Business requirement

A learner needs a small task list. They should be able to enter a task, add it to the list, view all current tasks, and remove a task they no longer need.

  1. Create a Task structure containing a Text attribute and a local variable that is a List of Task.
  2. Provide a text input and an Add Task button.
  3. On click, validate that the input is not empty, append the new task to the list, and clear the input.
  4. Display the list below the form using a List widget.
  5. Place a Remove button on every row and remove only the selected task.
  6. Show “No tasks added yet” when the list is empty.