Enjoy 20% off all plans by following us on social media. Check out other promotions!

Todo List

作者
Yangshun TayEx-Meta Staff Engineer
语言
HTMLJS

You're given some existing HTML for a Todo List app. Add the following functionality to the app:

  1. Add new tasks on clicking the "Submit" button.
    • The <input> field should be cleared upon successful addition.
  2. Remove tasks from the Todo List upon clicking the "Delete" button.

Notes

  • The focus of this question is on functionality, not the styling. There's no need to write any custom CSS.
  • You may modify the markup (e.g. adding ids, data attributes, replacing some tags, etc), but the result should remain the same visually.
  • You may want to think about ways to improve the user experience of the application and implement them (you get bonus credit for doing that during interviews).

公司

高级版功能购买高级版以查看出题公司。
查看计划
View solution