button
elements, which look much better than the plain HTML ones.
Create a new button
element below your large kitten photo. Give it the btn
and btn-default
classes, as well as the text of "Like".
button
element with the text "Like".
testString: assert(new RegExp("like","gi").test($("button").text()) && ($("img.img-responsive + button.btn").length > 0), 'Create a new button
element with the text "Like".');
- text: 'Your new button should have two classes: btn
and btn-default
.'
testString: 'assert($("button").hasClass("btn") && $("button").hasClass("btn-default"), ''Your new button should have two classes: btn
and btn-default
.'');'
- text: Make sure all your button
elements have a closing tag.
testString: assert(code.match(/<\/button>/g) && code.match(/Click here for cat photos.
Things cats love:
Top 3 things cats hate:
Click here for cat photos.
Things cats love:
Top 3 things cats hate: