File tree Expand file tree Collapse file tree 1 file changed +32
-29
lines changed Expand file tree Collapse file tree 1 file changed +32
-29
lines changed Original file line number Diff line number Diff line change 1+
2+
13<!DOCTYPE html>
24< html lang ="en ">
35< head >
1416 ul > li : hover {
1517 cursor : pointer;
1618 }
19+ # button {
20+ display : inline-block;
21+ background-color : # fc999b ;
22+ color : # ffffff ;
23+ border-radius : 5px ;
24+ text-align : center;
25+ margin-top : 2px ;
26+ padding : 5px 15px ;
27+ }
1728</ style >
1829< body >
19- < div class ="container mt-5 ">
20- < div class ="row ">
21- < div class ="col-8 form-group ">
22- < input class ="form-control " id ="newTodo " type ="text " placeholder ="Today i must... ">
23- < small class ="form-text text-muted "> Add a new todo</ small >
24- </ div >
25- < div class ="col-4 ">
26- < div class ="flex-row justify-content-center align-items-center ">
27- < button class ="btn btn-primary mt-1 mt-md-0 " onclick ="addTodo() "> ADD +</ button >
28- < button class ="btn btn-secondary mt-1 mt-md-0 " > Reset</ button >
29- < button class ="btn btn-danger mt-1 " onclick ="removeTodos() "> Bin</ button >
30- </ div >
31- </ div >
32- </ div >
33-
34- < div class ="row mt-2 ">
35- < div class ="col-10 offset-1 ">
36- < ul class ="list-group ">
37-
38- </ ul >
39- </ div >
40-
41- </ div >
42-
43-
44- </ div >
45-
46-
30+
31+
32+ < div class ="container ">
33+ < h2 > ToDo List</ h2 >
34+ < p > < em > double click to cross an item off.</ em > </ p >
35+
36+ < form name ="toDoList ">
37+ < input type ="text " name ="ListItem "/>
38+ </ form >
39+
40+ < div id ="button "> Add</ div >
41+ < br />
42+ < ol > </ ol >
43+
44+
45+
46+ </ div >
47+
4748 < script src ="https://code.jquery.com/jquery-3.4.1.min.js "> </ script >
49+ < script src ="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js "> </ script >
50+
4851 < script src ="index.js " defer > </ script >
4952</ body >
50- </ html >
53+ </ html >
You can’t perform that action at this time.
0 commit comments