File tree Expand file tree Collapse file tree
apps/localStorage-and-event-delegation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,14 +58,37 @@ body {
5858
5959.list__item {
6060 border-bottom : 1px solid rgba (0 , 0 , 0 , 0.2 );
61- padding : 10px 0 ;
61+ padding : 10px 10 px 10 px 0 ;
6262 font-weight : 100 ;
6363 display : flex;
6464 color : # 160f11 ;
6565 font-size : 1.1em ;
6666}
6767
68+ .list__item__checkbox {
69+ margin-right : 10px ;
70+ padding : 9px ;
71+ border-radius : 3px ;
72+ display : inline-block;
73+ }
74+
6875.form {
6976 margin : 20px 0 ;
7077 align-self : flex-start;
7178}
79+
80+ .form__input {
81+ background : # f7f7f7 ;
82+ border-radius : 5px ;
83+ font-size : 0.8em ;
84+ font-weight : 100 ;
85+ transition : 0.3s ;
86+ border : 0.5px solid rgba (0 , 0 , 0 , 0.2 );
87+ padding : 10px 5px ;
88+ }
89+
90+ .form__submite {
91+ text-transform : uppercase;
92+ color : # 9c9c9c ;
93+ padding : 10px ;
94+ }
Original file line number Diff line number Diff line change 6666 < h1 class ="content__title "> Fancy foods</ h1 >
6767
6868 < ul class ="list ">
69- < li class ="list__item "> Loading...</ li >
69+ < li class ="list__item ">
70+ < input class ="list__item__checkbox " type ="checkbox " />
71+ < label for ="item "> Beef Bourguignon</ label >
72+ </ li >
73+ < li class ="list__item ">
74+ < input class ="list__item__checkbox " type ="checkbox " />
75+ < label for ="item "> Salad Nicoise</ label >
76+ </ li >
7077 </ ul >
7178
7279 < form class ="form ">
7380 < input
7481 class ="form__input "
7582 type ="text "
7683 name ="item "
77- placeholder ="What do you need to study today ? "
84+ placeholder ="Type some food ? "
7885 required
7986 />
80- < input class ="form__submite " type ="submit " value ="Add " />
87+ < input class ="form__input form__submite " type ="submit " value ="Add " />
8188 </ form >
8289 </ div >
8390 </ div >
You can’t perform that action at this time.
0 commit comments