⚽ Match Details
👥 Team Sheet
Starting Players
Substitutes
Match Officials
📋 Match Events
🏆 Awards
📝 Match Report
const squad = [
'Ben Cantelo',
'Bobsy Collins',
'Harry Knight',
'Louis Synan',
'Zac Mitchell',
'Max Russ',
'Archie Black',
'Joseph Burke',
'Seb Quinton',
'Kayden Something',
'Vinnie Garman',
'Jack Humphries'
];
function buildSquad(){
const playerOptions =
'' +
squad.map(function(player){
return '';
}).join('');
document.querySelectorAll('.starter').forEach(function(select){
select.innerHTML = playerOptions;
});
document.querySelectorAll('.sub').forEach(function(select){
select.innerHTML = playerOptions;
});
document.getElementById('eventPlayer').innerHTML =
'' +
squad.map(function(player){
return '';
}).join('');
// MOTM
document.getElementById('motm').innerHTML =
'' +
squad.map(function(player){
return '';
}).join('');
// Special Mention
document.getElementById('special').innerHTML =
'' +
squad.map(function(player){
return '';
}).join('');
// Staff
const staffOptions = `
`;
document.getElementById('coach').innerHTML =
staffOptions;
document.getElementById('linesman').innerHTML =
staffOptions;
}
buildSquad();