fix(curriculum): correct test
This commit is contained in:
committed by
mrugesh mohapatra
parent
1c8ee82d91
commit
dc7bb257b9
@ -25,7 +25,7 @@ tests:
|
||||
- text: Your image element should have the class "thick-green-border".
|
||||
testString: assert($("img").hasClass("thick-green-border"), 'Your image element should have the class "thick-green-border".');
|
||||
- text: Your image should have a border radius of <code>10px</code>
|
||||
testString: assert(parseInt($("img").css("border-top-left-radius")) > 8, 'Your image should have a border radius of <code>10px</code>');
|
||||
testString: assert($("img").css("border-radius") === '10px', 'Your image should have a border radius of <code>10px</code>');
|
||||
|
||||
```
|
||||
|
||||
@ -105,7 +105,7 @@ tests:
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
```html
|
||||
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
|
||||
<style>
|
||||
.red-text {
|
||||
|
Reference in New Issue
Block a user