Skip to content

Commit 3405e19

Browse files
authored
fix(curriculum): Cafe menu whitespace clarification (freeCodeCamp#57060)
1 parent 0003bf9 commit 3405e19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f3c866dd0d0275f01d4d847.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ dashedName: step-39
77

88
# --description--
99

10-
Well that did not work. Styling the `p` elements as `inline-block` and placing them on separate lines in the code creates an extra space to the right of the first `p` element, causing the second one to shift to the next line. One way to fix this is to make each `p` element's width a little less than `50%`.
10+
Well that did not work. Styling the `p` elements as `inline-block` and placing them on separate lines in the code creates an extra space to the right of the first `p` element, causing the second one to shift to the next line. White space characters can cause this issue as well.
1111

12-
Change the `width` value to `49%` for each class to see what happens.
12+
One way to fix this is to make each `p` element's width a little less than `50%`. Change the `width` value to `49%` for each class to see what happens.
1313

1414
# --hints--
1515

0 commit comments

Comments
 (0)