Learn Basic CSS by Building a Cafe Menu (<article> question)

Step 42

When adding numerous “flavors” and “prices”, why place each in it’s own article tag if they are all going to have the same stylizations ? Is there some advantage to doing this as opposed to placing all p elements in a single article tag?

I have completed this project recently and I am adapting it for my own menu which contains much more content.

Welcome to the community :smiley:
I’ve put some links bellow that might help give you an idea of where articles could be used in your own project. Hope they help :slight_smile:

This link gives a basic definition and usage of an article:

This link answers a question about the implementation of articles and sections, with other links to more in depth sources:

1 Like

Thank you so much. This helped immensely.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.