btn-info
é usada para chamar a atenção para ações opcionais que o usuário pode executar. Crie um novo botão Bootstrap em nível de bloco abaixo do botão "Curtir" com o texto "Info", e adicione as classes btn-info
e btn-block
do Bootstrap a ele. Observe que esses botões ainda precisam das classes btn
e btn-block
. button
com o texto "Info".
testString: 'assert(new RegExp("info","gi").test($("button").text()), "Create a new button
element with the text "Info".");'
- text: Ambos os seus botões Bootstrap devem ter as classes btn
e btn-block
.
testString: 'assert($("button.btn-block.btn").length > 1, "Both of your Bootstrap buttons should have the btn
and btn-block
classes.");'
- text: Seu novo botão deve ter a classe btn-info
.
testString: 'assert($("button").hasClass("btn-info"), "Your new button should have the class btn-info
.");'
- 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: