Create a profile and find study partners for your subjects.
Your unique ID is: Loading...
Share this ID with friends so they can find you directly.
Style: ${user.style || 'Not specified'}
`).join('');
}
// --- Event Listeners ---
saveProfileBtn.addEventListener('click', saveProfile);
searchInput.addEventListener('input', () => {
// Re-run the listener logic on search input to filter
// This is slightly inefficient as it re-fetches, but simple.
// A better approach would be to filter the already fetched list.
// For this implementation, we'll stick to the simpler logic.
listenForGroups();
});
});