From 340644f706f163651b06d2d15aa31bda94d93421 Mon Sep 17 00:00:00 2001 From: LumenTeun Date: Sun, 31 May 2015 02:53:48 +0200 Subject: [PATCH] Checks all margins in 'Add Different a Margin to Each Side of an Element' #753 --- seed_data/challenges/basic-html5-and-css.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seed_data/challenges/basic-html5-and-css.json b/seed_data/challenges/basic-html5-and-css.json index 7a3a07c47ac..8c1537d4e0e 100644 --- a/seed_data/challenges/basic-html5-and-css.json +++ b/seed_data/challenges/basic-html5-and-css.json @@ -2297,7 +2297,9 @@ "CSS allows you to control the margin of an element on all four sides with margin-top, margin-right, margin-bottom, and margin-left attributes." ], "tests": [ + "assert($('.green-box').css('margin-top') === '40px', 'Your green-box class should give the top of elements 40px of margin.')", "assert($('.green-box').css('margin-left') === '40px', 'Your green-box class should give the left of elements 40px of margin.')", + "assert($('.green-box').css('margin-right') === '20px', 'Your green-box class should give the right of elements 20px of margin.')", "assert($('.green-box').css('margin-bottom') === '20px', 'Your green-box class should give the bottom of elements 20px of margin.')" ], "challengeSeed": [