Skip to content

Commit

Permalink
solution to issue freeCodeCamp#1173
Browse files Browse the repository at this point in the history
this solution may also be needed for some of the other css-based challenges
  • Loading branch information
benmcmahon100 committed Jul 1, 2015
1 parent c434342 commit 3955767
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion seed/challenges/basic-html5-and-css.json
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,8 @@
],
"tests": [
"assert($('h2').css('color') === 'rgb(255, 0, 0)', 'Your <code>h2</code> element should be red.')",
"assert($('h2').hasClass('red-text'), 'Your <code>h2</code> element should have the class \"red-text\".')"
"assert($('h2').hasClass('red-text'), 'Your <code>h2</code> element should have the class \"red-text\".')",
"assert($('h2').attr('style') == undefined, 'Please make sure there is no inline <code> style = </code> in you <code>h2</code> and change the color by using the css class <code> red-text </code>')"
],
"challengeSeed": [
"<style>",
Expand Down

0 comments on commit 3955767

Please sign in to comment.