diff --git a/seed_data/challenges/basic-bonfires.json b/seed_data/challenges/basic-bonfires.json index 56c58cfd36..7524602729 100644 --- a/seed_data/challenges/basic-bonfires.json +++ b/seed_data/challenges/basic-bonfires.json @@ -314,6 +314,7 @@ "tests": [ "assert.deepEqual(chunk(['a', 'b', 'c', 'd'], 2), [['a', 'b'], ['c', 'd']], 'should return chunked arrays');", "assert.deepEqual(chunk([0, 1, 2, 3, 4, 5], 3), [[0, 1, 2], [3, 4, 5]], 'should return chunked arrays');", + "assert.deepEqual(chunk([0, 1, 2, 3, 4, 5], 2), [[0, 1], [2, 3], [4, 5]], 'should return chunked arrays');", "assert.deepEqual(chunk([0, 1, 2, 3, 4, 5], 4), [[0, 1, 2, 3], [4, 5]], 'should return the last chunk as remaining elements');" ], "MDNlinks": ["Array.push()"], diff --git a/seed_data/challenges/basic-html5-and-css.json b/seed_data/challenges/basic-html5-and-css.json index ec30c917c1..c7a85c0b91 100644 --- a/seed_data/challenges/basic-html5-and-css.json +++ b/seed_data/challenges/basic-html5-and-css.json @@ -1013,8 +1013,8 @@ "tests": [ "assert($('ul').length > 0, 'You should have an ul element on your webpage.')", "assert($('ol').length > 0, 'You should have an ol element on your webpage.')", - "assert($('li').length > 5, 'You should have three li elements on within your ul element.')", - "assert($('li').length > 5, 'You should have three li elements on within your ol element.')" + "assert($('li').length > 5, 'You should have three li elements within your ul element.')", + "assert($('li').length > 5, 'You should have three li elements within your ol element.')" ], "challengeSeed": [ "", @@ -1831,7 +1831,9 @@ "CSS allows you to control the padding of an element on all four sides with padding-top, padding-right, padding-bottom, and padding-left attributes." ], "tests": [ + "assert($('.green-box').css('padding-top') === '40px', 'Your green-box class should give the top of elements 40px of padding.')", "assert($('.green-box').css('padding-left') === '40px', 'Your green-box class should give the left of elements 40px of padding.')", + "assert($('.green-box').css('padding-right') === '20px', 'Your green-box class should give the right of elements 40px of padding.')", "assert($('.green-box').css('padding-bottom') === '20px', 'Your green-box class should give the bottom of elements 20px of padding.')" ], "challengeSeed": [ @@ -1938,8 +1940,10 @@ "You can also use this notation for margins!" ], "tests": [ - "assert($('.green-box').css('padding-left') === '40px', 'Your green-box class should give the left of elements 40px of padding.')", - "assert($('.green-box').css('padding-bottom') === '20px', 'Your green-box class should give the bottom of elements 20px of padding.')" + "assert($('.green-box').css('padding-top') === '40px', 'Your green-box class should give the top of elements 40px of padding.')", + "assert($('.green-box').css('padding-right') === '20px', 'Your green-box class should give the right of elements 20px of padding.')", + "assert($('.green-box').css('padding-bottom') === '20px', 'Your green-box class should give the bottom of elements 20px of padding.')", + "assert($('.green-box').css('padding-left') === '40px', 'Your green-box class should give the left of elements 40px of padding.')" ], "challengeSeed": [ "