Live NCAA Football Scores

NCAA NEWS

Michigan Offensive Coordinator Sherrone Moore Signs Controversial Contract Amid NCAA Scrutiny

September 17, 2024

Ann Arbor, MI – Sherrone Moore, the offensive coordinator for the University of Michigan football team, has recently signed a contract that has implications for his future amid ongoing NCAA...

University of Michigan Secures Head Football Coach Sherrone Moore Amid Ongoing NCAA Investigation

September 17, 2024

Ann Arbor, Michigan – The University of Michigan has officially secured head football coach Sherrone Moore with a new contract, which comes amid concerns related to a sign-stealing scandal. According...

Texas Longhorns Claim No. 1 Spot in AP Poll for First Time Since 2008

September 17, 2024

Texas Takes Top Spot in AP Poll In Austin, Texas, there’s a buzz in the air as the Longhorns are now the No. 1 team in the latest AP Poll...

NCAA Football Scoreboard

NCAA Football Scoreboard LIVE

Live Scores

Team Players

NCAA Standings

Charlotte 49ers Players

${homeScore} - ${awayScore}
${game.teams.away.name}
${venueName}, ${venueCity}
`; gamesDiv.appendChild(gameDiv); // Add team player cards const teamCardDiv = document.createElement('div'); teamCardDiv.className = 'team-card'; teamCardDiv.innerHTML = `
`; // Update Team Players const homeTeamPlayersHTML = game.home_team_players.map(player => `
${player.name}
Position: ${player.position}
Number: ${player.number}
`).join(''); const awayTeamPlayersHTML = game.away_team_players.map(player => `
${player.name}
Position: ${player.position}
Number: ${player.number}
`).join(''); teamCardDiv.querySelector(`#home-team-players-${index}`).innerHTML = `
${homeTeamPlayersHTML}
`; teamCardDiv.querySelector(`#away-team-players-${index}`).innerHTML = `
${awayTeamPlayersHTML}
`; teamCardsDiv.appendChild(teamCardDiv); }); } // Update Standings let standingsHTML = ` `; standings.forEach(item => { standingsHTML += ` `; }); standingsHTML += '
Pos Team W L T PF PA Diff
${item.position !== null ? item.position : '-'} ${item.team.name} ${item.won !== null ? item.won : '-'} ${item.lost !== null ? item.lost : '-'} ${item.ties !== null ? item.ties : '-'} ${item.points.for !== null ? item.points.for : '-'} ${item.points.against !== null ? item.points.against : '-'} ${item.points.difference !== null ? item.points.difference : '-'}
'; standingsTable.innerHTML = standingsHTML; // Update Charlotte 49ers Players const charlotte49ersHTML = charlotte49ersPlayers.map(player => `
${player.name}
Position: ${player.position}
Number: ${player.number}
`).join(''); charlotte49ersDiv.innerHTML = charlotte49ersHTML; }; const sortTable = (columnIndex) => { const table = document.getElementById('standingsTable'); const rows = Array.from(table.rows).slice(1); const isNumeric = !isNaN(rows[0].cells[columnIndex].innerText); let isAscending = table.getAttribute('data-sort-asc') === 'true'; rows.sort((a, b) => { const cellA = a.cells[columnIndex].innerText; const cellB = b.cells[columnIndex].innerText; return isNumeric ? (isAscending ? cellA - cellB : cellB - cellA) : (isAscending ? cellA.localeCompare(cellB) : cellB.localeCompare(cellA)); }); table.setAttribute('data-sort-asc', !isAscending); rows.forEach(row => table.appendChild(row)); }; const showTeam = (index, team) => { const homeTeamDiv = document.getElementById(`home-team-players-${index}`); const awayTeamDiv = document.getElementById(`away-team-players-${index}`); if (team === 'home') { homeTeamDiv.style.display = 'block'; awayTeamDiv.style.display = 'none'; } else { homeTeamDiv.style.display = 'none'; awayTeamDiv.style.display = 'block'; } }; document.addEventListener('DOMContentLoaded', () => { loadJSON('https://hererockhill.com/NCAAdata.json') .then(data => { // Filter to keep only NCAA games data.live_scores = data.live_scores.filter(game => game.league.id === 2); // Assuming 'league.id === 2' corresponds to NCAA updateUI(data); }) .catch(error => console.error('Error loading data:', error)); // Trigger a resize event to ensure cards expand properly window.dispatchEvent(new Event('resize')); // Reload the page every 3 minutes setInterval(() => { location.reload(); }, 180000); });