text-center
a nuestro elemento h2
. Recuerde que puede agregar varias clases al mismo elemento separando cada una de ellas con un espacio, como este: <h2 class="red-text text-center">your text</h2>
h2
debe centrarse aplicando el text-center
la clase
testString: 'assert($("h2").hasClass("text-center"), "Your h2
element should be centered by applying the class text-center
");'
- text: Tu elemento h2
todavía debería tener la clase red-text
testString: 'assert($("h2").hasClass("red-text"), "Your h2
element should still have the class red-text
");'
```
Click here for cat photos.
Things cats love:
Top 3 things cats hate: