File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 9
9
< div >
10
10
< h1 > My Customers</ h1 >
11
11
< script type ="text/javascript " src ="dist/bundle.js "> </ script >
12
+ < table id ="company-table ">
13
+ < tr id ="table-block ">
14
+ < th > Company Name</ th >
15
+ < th > Status</ th >
16
+ < th > Created At</ th >
17
+ < th > Revenue YTD</ th >
18
+ < th > Account Executive</ th >
19
+ </ tr >
20
+ < tr >
21
+ < td class ="company-name "> </ td >
22
+ < td class ="comapany-status "> </ td >
23
+ < td class ="created-at "> </ td >
24
+ < td class ="revenue "> </ td >
25
+ < td class ="account-executive "> </ td >
26
+ </ tr >
27
+ </ table >
12
28
</ div >
13
29
</ body >
14
- </ html >
30
+ </ html >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ table {
16
16
By default, when you set borders on table elements, they will look pretty ugly.
17
17
*/
18
18
border-collapse : collapse;
19
- border : 3px solid purple ;
19
+ border : 3px solid lightblue ;
20
20
}
21
21
22
22
thead th : nth-child (1 ) {
@@ -42,4 +42,8 @@ th, td {
42
42
/* nth-child is a pretty neat thing to use and is widely applicable in real-life projects. Reader is highly encouraged to do more reading on this. */
43
43
tr : nth-child (1 ) {
44
44
font-weight : bold;
45
- }
45
+ }
46
+
47
+ # table-block {
48
+ background-color : lightblue;
49
+ }
You can’t perform that action at this time.
0 commit comments