Tell us what’s happening:
The challenge: Create a table
selector to target your tables. Set the border-collapse
property to collapse
, which will allow cell borders to collapse into a single border, instead of a border around each cell. Also set the border
property to 0
to hide the borders themselves.
The below code doesn’t pass with the following message: ‘You should have a table
selector.’
I’m not sure what I’m doing wrong
Your code so far
table {
border: 0;
border-collapse: collapse;
}