Simple HTML List

Create a simple To-Do List application. The application should have the following behaviour:


  • The page should contain an input field with the ID='taskInput' where the user can enter a task.


  • There should be a button with the ID='addButton' that adds the entered task to the list when clicked.


  • The tasks should be displayed in an unordered list with the ID='taskList'.


  • Each task in the list should have a button to remove the task. The remove button should be styled to be red with white text.


Expected Output:
</>
Code
Loading...
Output