diff --git a/index.html b/index.html
index 47f39d4..9ffc409 100644
--- a/index.html
+++ b/index.html
@@ -1,3 +1,43 @@
-
-
" + "
" + "" + "
" + "
" + "
" + taskAdded + "
" + "" + "
" + "" + "
");
+ $("#addForm")[0].reset();//to reset textbox
+ e.preventDefault();//to prevent form reset
+ }
+ });
+
+ //Remove element from list
+ $(document).on('click', '#removeBtn',function(){
+ var taskDel = $(this).parent().parent();
+ $(taskDel).remove();
+ });
+
+ //moving checked task to 'done' list
+ $("#to-be-done").on('click', '.check_todo' ,function(){
+ if($(this).is(':checked')){
+ var parentEle =$(this).parent().parent();
+ $(parentEle).appendTo("#done");
+ }
+ } );
+
+ //moving uncheck task to 'to-be-done' list
+ $("#done").on('click', '.check_todo' ,function(){
+ if(!($(this).is(':checked'))){
+ var parentEle =$(this).parent().parent();
+ $(parentEle).appendTo("#to-be-done");
+ }
+ } );
+
+
+});