Fixed route on waypoint-label-bootstrap-wells and the tests. Fixed the test messages on waypoint-give-each-element-a-unique-id
This commit is contained in:
@ -1874,7 +1874,7 @@
|
||||
},
|
||||
{
|
||||
"id": "bad87fee1348bd9aec908854",
|
||||
"name": "Waypoint: Label Boostrap Wells",
|
||||
"name": "Waypoint: Label Bootstrap Wells",
|
||||
"dashedName": "waypoint-label-bootstrap-wells",
|
||||
"difficulty": 2.26,
|
||||
"description": [
|
||||
@ -1883,9 +1883,9 @@
|
||||
"Above your right-well, inside its \"col-xs-6\" <code>div</code> element, add a <code>h4</code> element with the text \"#right-well\"."
|
||||
],
|
||||
"tests": [
|
||||
"assert($('.col-xs-12').children('h4') && $('.col-xs-12').children('h4').length > 1, 'Add an <code>h4</code> element to each of your <code><div class='col-xs-6'></code> elements.')",
|
||||
"assert(new RegExp('#left-well','gi').test($('h4').text()), 'One <code>h4</code> element should have the text \"#left-well\".')",
|
||||
"assert(new RegExp('#right-well','gi').test($('h4').text()), 'One <code>h4</code> element should have the text \"#right-well\".')"
|
||||
"assert($('.col-xs-12').children('h4') && $('.col-xs-12').children('h4').length > 1, 'Add an <code>h4</code> element to each of your <code><div class=\\'col-xs-6\\'></code> elements.');",
|
||||
"assert(new RegExp('#left-well','gi').test($('h4').text()), 'One <code>h4</code> element should have the text \"#left-well\".');",
|
||||
"assert(new RegExp('#right-well','gi').test($('h4').text()), 'One <code>h4</code> element should have the text \"#right-well\".');"
|
||||
],
|
||||
"challengeSeed": [
|
||||
"<div class='container-fluid'>",
|
||||
@ -1930,12 +1930,12 @@
|
||||
"Give each of your buttons a unique id like, starting with \"target1\" and ending with \"target6\"."
|
||||
],
|
||||
"tests": [
|
||||
"assert($('#target1') && $('#target1').length > 0, 'One <code>button</code> element should have the id \"#target1\".')",
|
||||
"assert($('#target2') && $('#target2').length > 0, 'One <code>button</code> element should have the id \"#target2\".')",
|
||||
"assert($('#target3') && $('#target3').length > 0, 'One <code>button</code> element should have the id \"#target3\".')",
|
||||
"assert($('#target4') && $('#target4').length > 0, 'One <code>button</code> element should have the id \"#target4\".')",
|
||||
"assert($('#target5') && $('#target5').length > 0, 'One <code>button</code> element should have the id \"#target5\".')",
|
||||
"assert($('#target6') && $('#target6').length > 0, 'One <code>button</code> element should have the id \"#target6\".')"
|
||||
"assert($('#target1') && $('#target1').length > 0, 'One <code>button</code> element should have the id \"target1\".')",
|
||||
"assert($('#target2') && $('#target2').length > 0, 'One <code>button</code> element should have the id \"target2\".')",
|
||||
"assert($('#target3') && $('#target3').length > 0, 'One <code>button</code> element should have the id \"target3\".')",
|
||||
"assert($('#target4') && $('#target4').length > 0, 'One <code>button</code> element should have the id \"target4\".')",
|
||||
"assert($('#target5') && $('#target5').length > 0, 'One <code>button</code> element should have the id \"target5\".')",
|
||||
"assert($('#target6') && $('#target6').length > 0, 'One <code>button</code> element should have the id \"target6\".')"
|
||||
],
|
||||
"challengeSeed": [
|
||||
"<div class='container-fluid'>",
|
||||
|
Reference in New Issue
Block a user