Unit 5 Lesson 17 Hackathon

I need help with this code please:

How would I be able to filter the overallAccounts list so that only the usernames of the athletes are appended into the filteredSportsUsernames?

(Attached is the picture of the code and the text is below)
Thanks,

var overallAccounts = getColumn(“Most Followed Instagram Accounts”, “Username”);
var sportsUsernames = getColumn(“Most Followed Instagram Accounts”, “Username”);
var sportsFollowers = getColumn(“Most Followed Instagram Accounts”, “Followers in millions”);
var sportsSport = getColumn(“Most Followed Instagram Accounts”, “Profession/Activity”);
var musicUsername = getColumn(“Most Followed Instagram Accounts”, “Username”);
var musicFollowers = getColumn(“Most Followed Instagram Accounts”, “Followers in millions”);
var filteredSportsSport = ;
var filteredSportsUsernames = ;

onEvent(“backMusicButton”, “click”, function( ) {
setScreen(“homeScreen”);
});
onEvent(“backSportsButton”, “click”, function( ) {
setScreen(“homeScreen”);
});
onEvent(“sportsButton”, “click”, function( ) {
setScreen(“sportsScreen”);
});
for (var i = 0; i < sportsSport.length; i++) {
if (getColumn(“Most Followed Instagram Accounts”, “Profession/Activity”) == (“Footballer” || (“Cricketer” || “Basketball Player”))) {
appendItem(filteredSportsSport, __);
}
}
for (var i = 0; i < overallUsernames.length; i++) {
if (getColumn(“Most Followed Instagram Accounts”, “Username”) == (“Footballer” || (“Cricketer” || “Basketball Player”))) {
appendItem(filteredSportsUsernames, __);
}
}

@msmith Please follow the outline below for debugging help.

[Posts in the debugging category need to have the following pieces of information included in order to help other teachers or our moderator team best help you. Feel free to delete everything in brackets before posting your request for debugging help.]
Link to the project or level: [replace with link to the curriculum or get the “Share” link to a project]
What I expect to happen: [replace with a detailed description of the behavior you’re trying to create]
What actually happens: [replace with a detailed description of what actually happens when the code runs including any errors or unexpected behavior]
What I’ve tried: [replace with a detailed description of what you’ve already tried to do to solve the problem]

That doesn’t do what you think it does. The form Terence has posted might help you focus on what you want it to do by just filling it out.