When multiple checkboxes are selected by the user, corresponding form fields should appear based on the checkboxes. For example, if both flight and hotel checkboxes are checked, then the full name and last name fields should be displayed while other fields remain hidden.
I attempted to implement a toggle method to hide/show fields when a checkbox is checked, but I am facing challenges in selecting multiple fields together and hiding others. Additionally, I need my checkboxes to be aligned horizontally using CSS, but it's not functioning as expected.