text-center
da classe ao nosso elemento h2
. Lembre-se que você pode adicionar várias classes ao mesmo elemento, separando cada uma delas com um espaço, como este: <h2 class="red-text text-center">your text</h2>
h2
deve ser centrado aplicando o text-center
da turma
testString: 'assert($("h2").hasClass("text-center"), "Your h2
element should be centered by applying the class text-center
");'
- text: Seu elemento h2
ainda deve ter a classe 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: