Incorrect seed in 'Use HTML5 to Require a Field' #703

This commit is contained in:
LumenTeun
2015-05-30 16:41:32 +02:00
parent dbf265bd22
commit d949da5c29

View File

@ -1650,8 +1650,7 @@
"For example, if you wanted to make a text input field required, you can just add the word \"required\" within your <code>input</code> element use: <code>&#60;input type='text' required&#62;</code>" "For example, if you wanted to make a text input field required, you can just add the word \"required\" within your <code>input</code> element use: <code>&#60;input type='text' required&#62;</code>"
], ],
"tests": [ "tests": [
"assert($('input').prop('required'), 'Your text field should have the property of being required.')", "assert($('input').prop('required'), 'Your text field should have the property of being required.')"
"assert(new RegExp('cat photo URL').test($('input').prop('placeholder')), 'Your text field should have the placeholder text of \"cat photo URL\".')"
], ],
"challengeSeed": [ "challengeSeed": [
"<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>", "<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>",
@ -1700,7 +1699,7 @@
" <li>other cats</li>", " <li>other cats</li>",
"</ol>", "</ol>",
"<form action=\"/submit-cat-photo\">", "<form action=\"/submit-cat-photo\">",
" <input type='text'>", " <input type='text' placeholder='cat photo URL'>",
" <button type='submit'>Submit</button>", " <button type='submit'>Submit</button>",
"</form>" "</form>"
], ],