'Create a Text Field' now makes sure the input type is text. #1241

This commit is contained in:
LumenTeun
2015-07-11 00:46:19 +02:00
committed by Berkeley Martinez
parent 88092f9ed6
commit f0aeb26337

View File

@ -1562,7 +1562,7 @@
"Create an <code>input</code> element of type \"text\" below your lists."
],
"tests": [
"assert($('input').length > 0, 'Your app should have a text field input element.')"
"assert($('input[type=text]').length > 0, 'Your app should have a text field input element.')"
],
"challengeSeed": [
"<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>",