fix(curriculum): correct test
parent
1c8ee82d91
commit
dc7bb257b9
|
@ -25,7 +25,7 @@ tests:
|
||||||
- text: Your image element should have the class "thick-green-border".
|
- 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".');
|
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>
|
- 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
|
## Solution
|
||||||
<section id='solution'>
|
<section id='solution'>
|
||||||
|
|
||||||
```js
|
```html
|
||||||
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
|
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
|
||||||
<style>
|
<style>
|
||||||
.red-text {
|
.red-text {
|
||||||
|
|
Loading…
Reference in New Issue