Click here to view more cat photos.
Things cats love:
- cat nip
- laser pointers
- lasagna
Top 3 things cats hate:
- flea treatment
- thunder
- other cats
red-text
ao primeiro elemento p
. h2
deve estar vermelho.
testString: 'assert($("h2").css("color") === "rgb(255, 0, 0)", "Your h2
element should be red.");'
- text: Seu elemento h2
deve ter a classe red-text
.
testString: 'assert($("h2").hasClass("red-text"), "Your h2
element should have the class red-text
.");'
- text: Seu primeiro elemento p
deve ser vermelho.
testString: 'assert($("p:eq(0)").css("color") === "rgb(255, 0, 0)", "Your first p
element should be red.");'
- text: Seu segundo e terceiro elementos p
não devem ser vermelhos.
testString: 'assert(!($("p:eq(1)").css("color") === "rgb(255, 0, 0)") && !($("p:eq(2)").css("color") === "rgb(255, 0, 0)"), "Your second and third p
elements should not be red.");'
- text: Seu primeiro elemento p
deve ter a classe red-text
.
testString: 'assert($("p:eq(0)").hasClass("red-text"), "Your first p
element should have the class red-text
.");'
```
Click here to view more cat photos.
Things cats love:
Top 3 things cats hate: