Building a Cafe Menu Step 22

Hi there!

I passed this stage just fine (please see the attachment), however what I don’t understand is how is this code I have just done effecting only styling of the #menu as said in the instructions? When I wrote the code I did not think I would have passed it as I did not do anything with the #menu element. Could anyone clear this up for me please? How did it effect only the #menu?
Thanks a lot!

Because it is in the body element, it effects the body element only

I see. So that’s all connected with how I have written the HTML as well as the CSS to get broader understanding of it all.
Many thanks for this.

1 Like

Please remember to post the actual code instead of a screenshot. Thanks