height
property to the h4
tag and set it to 25px
```yml
tests:
- text: Your code should change the h4
height
property to a value of 25 pixels.
- testString: assert($('h4').css('height') == '25px', 'Your code should change the h4
height
property to a value of 25 pixels.');
+ testString: assert($('h4').css('height') === '25px' && /h4{\S*height:25px(;\S*}|})/.test($('style').text().replace(/\s/g ,'')));
```
@@ -80,7 +80,41 @@ tests:
## Solution
Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.
+width
property to the entire card and set it to an absolute v
```yml
tests:
- text: Your code should change the width
property of the card to 245 pixels by using the fullCard
class selector.
- testString: assert(code.match(/.fullCard\s*{[\s\S][^}]*\n*^\s*width\s*:\s*245px\s*;/gm), 'Your code should change the width
property of the card to 245 pixels by using the fullCard
class selector.');
+ testString: assert($('.fullCard').css('width') === '245px' && /\.fullCard{\S*width:245px(;\S*}|})/.test($('style').text().replace(/\s/g ,'')));
```