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));
- text: 'Your new button should have two classes: btn
and btn-default
.'
testString: assert($("button").hasClass("btn") && $("button").hasClass("btn-default"));
- text: Make sure all your button
elements have a closing tag.
testString: assert(code.match(/<\/button>/g) && code.match(/