button
, que parecem muito melhores que os simples HTML. Crie um novo elemento de button
abaixo da sua foto grande de gatinho. Dê-lhe as classes btn
e btn-default
, assim como o texto de "Like". button
com o texto "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: 'Seu novo botão deve ter duas classes: btn
e btn-default
.'
testString: 'assert($("button").hasClass("btn") && $("button").hasClass("btn-default"), "Your new button should have two classes: btn
and btn-default
.");'
- text: Certifique-se de que todos os seus elementos de button
tenham uma tag de fechamento.
testString: 'assert(code.match(/<\/button>/g) && code.match(/Click here for cat photos.
Things cats love:
Top 3 things cats hate: