Online Study Group Matching Tool

Study Group Matching Tool

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.

Could not load groups. Please check your connection.

`; groupListLoader.style.display = 'none'; }); } function renderGroupList(users) { const filterText = searchInput.value.toLowerCase(); const filteredUsers = users.filter(user => user.subject.toLowerCase().includes(filterText)); if (filteredUsers.length === 0) { groupList.innerHTML = `

No matching groups found.

`; return; } groupList.innerHTML = filteredUsers.map(user => `

${user.name}

${user.subject}

Availability: ${user.availability || 'Not specified'}

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(); }); });
Scroll to Top