css-diner icon indicating copy to clipboard operation
css-diner copied to clipboard

Prefixing selector with div or .table should be allowed

Open LHSnow opened this issue 6 years ago • 2 comments

Although not the simplest selector possible, it should be allowed to be more specific than the accepted solution. This is to encourage when a student does it right, even if it is not exactly what was asked for. For example on level 10, where all the following should be correct

div *
.table *
*

LHSnow avatar May 25 '18 14:05 LHSnow

I agree with him, yesterday, our professor gave us this to train CSS Selector, and i was particulary surprised when i typed .table foo to select in the table the elements, then few mins later I discovred i don't have to tu .table wich is... weird. ^^

loic2665 avatar Nov 23 '18 11:11 loic2665

Level 10 asks us to 'select all the things', i.e. not just all the things within the div-type (as you select with 'div *'), or within the table-class (as you select with '.table *')

rogererens avatar Oct 08 '20 08:10 rogererens