diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-clockwise-notation-to-specify-the-margin-of-an-element.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-clockwise-notation-to-specify-the-margin-of-an-element.english.md
index 04fecca8f8..691d5e411c 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-css/use-clockwise-notation-to-specify-the-margin-of-an-element.english.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/use-clockwise-notation-to-specify-the-margin-of-an-element.english.md
@@ -24,13 +24,15 @@ Use Clockwise Notation
to give the element with the blue-box<
```yml
tests:
- text: Your blue-box
class should give the top of elements 40px
of margin
.
- testString: assert($(".blue-box").css("margin-top") === "40px", 'Your blue-box
class should give the top of elements 40px
of margin
.');
+ testString: assert($(".blue-box").css("margin-top") === "40px");
- text: Your blue-box
class should give the right of elements 20px
of margin
.
- testString: assert($(".blue-box").css("margin-right") === "20px", 'Your blue-box
class should give the right of elements 20px
of margin
.');
+ testString: assert($(".blue-box").css("margin-right") === "20px");
- text: Your blue-box
class should give the bottom of elements 20px
of margin
.
- testString: assert($(".blue-box").css("margin-bottom") === "20px", 'Your blue-box
class should give the bottom of elements 20px
of margin
.');
+ testString: assert($(".blue-box").css("margin-bottom") === "20px");
- text: Your blue-box
class should give the left of elements 40px
of margin
.
- testString: assert($(".blue-box").css("margin-left") === "40px", 'Your blue-box
class should give the left of elements 40px
of margin
.');
+ testString: assert($(".blue-box").css("margin-left") === "40px");
+ - text: You should use the clockwise notation to set the margin of blue-box
class.
+ testString: const removeCssComments = str => str.replace(/\/\*[\s\S]+?\*\//g, '');assert(/\.blue-box\s*{[\s\S]*margin:\s*\d+px\s+\d+px\s+\d+px\s+\d+px(;[\s\S]*}|\s*)/.test(removeCssComments($('style').text())));
```
@@ -81,14 +83,48 @@ tests:
-
-
## Solution
-```js
-// solution required
+```html
+
+margin
+
+
+
padding
+ padding
+
```
+