figure out a test for inline styles
This commit is contained in:
@ -88,7 +88,7 @@
|
|||||||
"Here's how you would set the h2 element's text color to blue: <code><h2 style=\"color: blue\">hello html<h2></code>"
|
"Here's how you would set the h2 element's text color to blue: <code><h2 style=\"color: blue\">hello html<h2></code>"
|
||||||
],
|
],
|
||||||
"tests": [
|
"tests": [
|
||||||
"expect($('h2')).to.have.css('color', 'red');"
|
"expect($('h2')).to.have.css('color', 'rgb(255, 0, 0)');"
|
||||||
],
|
],
|
||||||
"challengeSeed": "<h1>hello world</h1>\n<h2>hello html</h2>\n<p>hello paragraph</p>"
|
"challengeSeed": "<h1>hello world</h1>\n<h2>hello html</h2>\n<p>hello paragraph</p>"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user