btn-info
se utiliza para llamar la atención sobre acciones opcionales que el usuario puede realizar. Cree un nuevo botón Bootstrap a nivel de bloque debajo de su botón "Me gusta" con el texto "Información", y agregue las clases btn-info
y btn-block
Bootstrap. Tenga en cuenta que estos botones aún necesitan las clases btn
y btn-block
. button
con el texto "Información".
testString: 'assert(new RegExp("info","gi").test($("button").text()), "Create a new button
element with the text "Info".");'
- text: Ambos botones de Bootstrap deberían tener las clases btn
y btn-block
.
testString: 'assert($("button.btn-block.btn").length > 1, "Both of your Bootstrap buttons should have the btn
and btn-block
classes.");'
- text: Tu nuevo botón debe tener la clase btn-info
.
testString: 'assert($("button").hasClass("btn-info"), "Your new button should have the class btn-info
.");'
- text: Asegúrese de que todos los elementos de sus button
tengan una etiqueta de cierre.
testString: 'assert(code.match(/<\/button>/g) && code.match(/Click here for cat photos.
Things cats love:
Top 3 things cats hate: