This example is very basic and is intended to illustrate how you might create a simple interactive feature. For a real website, you'd need to consider more complex interactions, user data handling, and security.