File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1-
21< html >
32 < head >
4- < title > To Do List </ title >
5- < link rel ="stylesheet " href ="./style .css " type ="text/css " />
3+ < title > To Do List</ title >
4+ < link rel ="stylesheet " href ="./styles .css " type ="text/css " />
65 </ head >
76 < body >
8- < div id ="myDIV " class ="header ">
9- < h2 > My To Do List</ h2 >
10- < input type ="text " id ="myInput " placeholder ="Title... ">
11- < span onclick ="newElement() " class ="addBtn "> Add</ span >
12- </ div >
7+ < div id ="myDIV " class ="header ">
8+ < h2 > My To Do List</ h2 >
9+ < input type ="text " id ="myInput " placeholder ="Title... " />
10+ < span onclick ="newElement() " class ="addBtn "> Add</ span >
11+ </ div >
12+
13+ < ul id ="myUL ">
14+ < li > Hit the gym</ li >
15+ < li class ="checked "> Pay bills</ li >
16+ < li > Meet George</ li >
17+ < li > Buy eggs</ li >
18+ < li > Read a book</ li >
19+ < li > Organize office</ li >
20+ </ ul >
1321
14- < ul id ="myUL ">
15- < li > Hit the gym</ li >
16- < li class ="checked "> Pay bills</ li >
17- < li > Meet George</ li >
18- < li > Buy eggs</ li >
19- < li > Read a book</ li >
20- < li > Organize office</ li >
21- </ ul >
22-
2322 < script src ="./app.js "> </ script >
2423 </ body >
2524</ html >
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ ul li.checked {
4444
4545/* Add a "checked" mark when clicked on */
4646ul li .checked ::before {
47- content : '' ;
47+ content : "" ;
4848 position : absolute;
4949 border-color : # fff ;
5050 border-style : solid;
@@ -71,7 +71,7 @@ ul li.checked::before {
7171
7272/* Style the header */
7373.header {
74- background-color : # f44336 ;
74+ background-color : # 63ae35 ;
7575 padding : 30px 40px ;
7676 color : white;
7777 text-align : center;
You can’t perform that action at this time.
0 commit comments