mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-08-30 17:05:59 +08:00
fix(curriculum): clarify h2 margin instruction wording (#69248)
Signed-off-by: Masroor Hosseini <masroor.hosseini.13@gmail.com> Co-authored-by: Masroor Hosseini <m.hosseini@localhost.local> Co-authored-by: majestic-owl448 <26656284+majestic-owl448@users.noreply.github.com>
This commit is contained in:
@@ -7,11 +7,11 @@ dashedName: step-89
|
||||
|
||||
# --description--
|
||||
|
||||
It would be nice if the vertical space between the `h2` elements and their associated icons was smaller. The `h2` elements have default top and bottom margin space, so you could change the bottom margin of the `h2` elements to say `0` or another number.
|
||||
It would be nice if the vertical space between the `h2` elements and their associated icons was smaller. The `h2` elements have default top and bottom margin space, so you could change the bottom margin of the `h2` elements to `0` or some other value.
|
||||
|
||||
There is an easier way, simply add a negative top margin to the `img` elements to pull them up from their current positions. Negative values are created using a `-` in front of the value. To complete this workshop, go ahead and use a negative top margin of `25px` in the `img` type selector.
|
||||
|
||||
Congratulations! You have completed the Cafe Menu workshop.
|
||||
Congratulations! You have completed the Cafe Menu workshop.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user