Skip to content

Commit

Permalink
Fixes Give Images Border Width Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintPeter committed Nov 7, 2015
1 parent 5b4eafe commit 0dc082e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seed/challenges/html5-and-css.json
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@
"tests": [
"assert($(\"img\").hasClass(\"smaller-image\"), 'Your <code>img</code> element should have the class <code>smaller-image</code>.')",
"assert($(\"img\").hasClass(\"thick-green-border\"), 'Your <code>img</code> element should have the class <code>thick-green-border</code>.')",
"assert($(\"img\").hasClass(\"thick-green-border\") && parseInt($(\"img\").css(\"border-top-width\"), 10) === 10, 'Give your image a border width of <code>10px</code>.')",
"assert($(\"img\").hasClass(\"thick-green-border\") && parseInt($(\"img\").css(\"border-top-width\"), 10) >= 8 && parseInt($(\"img\").css(\"border-top-width\"), 10) <= 12, 'Give your image a border width of <code>10px</code>.')",
"assert($(\"img\").css(\"border-right-style\") === \"solid\", 'Give your image a border style of <code>solid</code>.')",
"assert($(\"img\").css(\"border-left-color\") === \"rgb(0, 128, 0)\", 'The border around your <code>img</code> element should be green.')"
],
Expand Down

0 comments on commit 0dc082e

Please sign in to comment.