Merge pull request #766 from LumenTeun/checks

Improves checks in 'Create a Set of Checkboxes'
This commit is contained in:
Quincy Larson 2015-05-30 20:21:08 -07:00
commit 21d30663d7

View File

@ -1881,7 +1881,7 @@
],
"tests": [
"assert($('input[type=\"checkbox\"]').length > 2, 'Your webpage should have three checkbox elements.')",
"assert($('label').length > 4, 'Each of your three checkbox elements should be wrapped in a label element.')"
"assert($('label:has(input[type=\"checkbox\"])').length > 2, 'Each of your three checkbox elements should be wrapped in a label element.')"
],
"challengeSeed": [
"<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>",