Following example will demonstrate how you can create a simple room booking application.

Click on the room you want to book. A popup window with "Book" button will show up. Upon clicking the button, the room will turn red. You can call an API to your backend system which can handle the booking for you.