News for hackers. Stuff that matters.
Re:Tricky CSS Selectors Quiz by pedalpete on Saturday July 06, 2013 @10:19PM (#6000786)
This is interesting, but you basically have to keep guessing until you get the right answer.

Would be nice to have a 'done' button to suggest that you think you've found the answer and the site can tell you you're wrong. Otherwise you wonder if you're wrong, or if the site is just broken.

Re:Tricky CSS Selectors Quiz by goostavos on Saturday July 06, 2013 @11:52PM (#6000981)
I'll second the "done" suggestion. I'm fairly new to web development, I got quite a few of them right simply by guessing, but it quickly changed to the next question before I had a chance to analyse and internalize why my guess was correct.

That said, I dig the format. It's interesting to be presented with a piece of unfamiliar syntax, and then be expected to work out it's meaning.

Re:Tricky CSS Selectors Quiz by bjornsteffanson on Saturday July 06, 2013 @10:42PM (#6000839)
While I was playing I was thinking "It would be nice if they tracked the sequence in which answers were selected." On several questions, I immediately clicked a few that were obvious and then the rest I was like "...and maybe this one?"
Re:Tricky CSS Selectors Quiz by nemo on Sunday July 07, 2013 @12:27AM (#6001043)
Yeah that and/or a 'skip' button in case you can't sort it out.

I didn't figure out 15 and peeked at the JS source to get through, skipping would have been simpler.

Re:Tricky CSS Selectors Quiz by martin_ on Sunday July 07, 2013 @03:22AM (#6001371)
A quicker way would've been to run document.querySelectorAll('the_selector') in your console to identify the elements to click
Re:Tricky CSS Selectors Quiz by mbrameld on Sunday July 07, 2013 @01:14AM (#6001125)
You can see the answers in the JS on the page.
Re:Tricky CSS Selectors Quiz by shoebappa on Saturday July 06, 2013 @11:51PM (#6000977)
Pretty cool tester, I think #2 isn't correct, at least in Chrome and Firefox, the third article doesn't match: http://jsfiddle.net/Ldgdh/
Re:Tricky CSS Selectors Quiz by ahmicro on Sunday July 07, 2013 @03:52AM (#6001436)
Yes I think too #2 It's working here http://jsbin.com/epexom/1/ did you passed it, or I am doing some thing wrong
Re:Tricky CSS Selectors Quiz by Chris_Newton on Sunday July 07, 2013 @12:12AM (#6001016)
Re:Tricky CSS Selectors Quiz by kingkool68 on Saturday July 06, 2013 @11:00PM (#6000874)
These were pretty simple except for that last one.
Re:Tricky CSS Selectors Quiz by elchief on Sunday July 07, 2013 @04:59AM (#6001521)
Re:Tricky CSS Selectors Quiz by prezjordan on Saturday July 06, 2013 @10:24PM (#6000802)
I wouldn't say tricky ;) Only one's that had me thinking were :root and :last-of-type
Re:Tricky CSS Selectors Quiz by joeblau on Saturday July 06, 2013 @11:49PM (#6000970)
This would be a great quiz to give during a job interview if you're hiring a web developer.
Re:Tricky CSS Selectors Quiz by dubcanada on Sunday July 07, 2013 @01:36AM (#6001163)
No it wouldn't. Sadly most people don't seem to understand that IE8 and IE9 and even IE10 do not support CSS3 selectors/ or some of them. And to top it off, they also don't understand that IE is still the most popular web browser there is when you add IE8 and IE9 together.

And really anything that can be done using CSS3 selectors can be done by thinking ahead on the development and providing proper classes/ids/wrappers/elements.

Re:Tricky CSS Selectors Quiz by martin_ on Sunday July 07, 2013 @03:23AM (#6001376)
When learning about CSS people typically don't choose to specifically learn what isn't in IE n
Re:Tricky CSS Selectors Quiz by hrktb on Sunday July 07, 2013 @12:23PM (#6002403)
I might be a bad example, but when I see a "not supported in IE" mention and there's no pollyfill, the feature goes to the same bucket as the cool Dart features and the fun things you can do in the next version of ecmascript. Good to hear they exist, but I'll properly learn them when I'll be able to use them.
Re:Tricky CSS Selectors Quiz by xer0x on Saturday July 06, 2013 @11:50PM (#6000974)
That was fun. I hadn't played with any of the new css selectors.