Expand/Collapse Widgets

This is the first piece of controlled content. It demonstrates how a section can be hidden or revealed with a simple click.

You can put any HTML content here, like paragraphs, images, lists, or even other widgets.

This is the second example of collapsible content. Each widget operates independently.

It's useful for FAQs, showing more information, or progressively disclosing content to the user.

Another paragraph of text to make this section a bit longer.

A third example, just to show multiple instances working correctly.

The JavaScript ensures that only the clicked widget's content is toggled.