Clarify text for 'Waypoint: Add a Negative Margin to an Element'

- the user was asked to change text to a negative number
- this was confusing, as the test only passes if the value ia -15px
This commit is contained in:
Michael Pope
2015-07-11 10:49:28 -04:00
parent 6bd0b56321
commit 3d51e7776d

View File

@ -2554,7 +2554,7 @@
"dashedName": "waypoint-add-a-negative-margin-to-an-element",
"difficulty": 0.042,
"description": [
"Change the <code>margin</code> of the green box to a negative value, so it fills the entire horizontal width of the yellow box around it.",
"Change the <code>margin</code> of the green box to -15 pixels, so it fills the entire horizontal width of the yellow box around it.",
"An element's <code>margin</code> controls the amount of space between an element's <code>border</code> and surrounding elements.",
"If you set an element's <code>margin</code> to a negative value, the element will grow larger.",
"Try to set the <code>margin</code> to a negative value like the one for the red box."