button
, que se ven mucho mejores que los de HTML simple. Crea un nuevo elemento de button
debajo de tu foto de gatito grande. Asígnele las clases btn
y btn-default
, así como el texto de "Me gusta". button
con el texto "Me gusta".
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: 'Su nuevo botón debe tener dos clases: btn
y btn-default
.'
testString: 'assert($("button").hasClass("btn") && $("button").hasClass("btn-default"), "Your new button should have two classes: btn
and btn-default
.");'
- 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: