This commit is contained in:
Quincy Larson
2015-05-26 17:37:21 -07:00
parent 81fb739794
commit f81f22b108

View File

@@ -1132,7 +1132,8 @@
"For example: <code>&#60;input type='text' placeholder='this is placeholder text'&#62;</code>"
],
"tests": [
"assert($('[placeholder]').length > 0, 'Your text field should have the placeholder text of \"cat photo URL\".')"
"assert($('[placeholder]').length > 0, 'Your text field should have a placeholder attribute.')",
"assert(/url/gi.test($('input').attr('placeholder')), 'Your placeholder field should have the value of \"cat photo URL\".')"
],
"challengeSeed": [
"<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>",