diff --git a/seed_data/challenges/basic-html5-and-css.json b/seed_data/challenges/basic-html5-and-css.json index 6290601fa6..43032e2239 100644 --- a/seed_data/challenges/basic-html5-and-css.json +++ b/seed_data/challenges/basic-html5-and-css.json @@ -1325,8 +1325,8 @@ "For example, if you wanted to make a text input field required, you can just add the word \"required\" within your input element use: <input type='text' required>" ], "tests": [ - "assert($('input').prop('required'), 'Your text field have the property of being required.')", - "assert($('[placeholder]').length > 0, 'Your text field should have the placeholder text of \"cat photo URL\".')" + "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": [ "",