mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
Merge pull request #766 from LumenTeun/checks
Improves checks in 'Create a Set of Checkboxes'
This commit is contained in:
commit
21d30663d7
@ -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'>",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user