Tell us what’s happening:
Hi Campers,
Im having trouble with this code I dont know what im doing wrong.
The part that got me stuck is “Implicitly returning a player.nickname”
I have been stuck to this Question since yesterday and I have been trying to avoid coming here. Mainly because i wanted to figure it out by my self but I failed hunce why Im here.
Please point me to the write direction my co - Campers!!!
Stay blessed and may God bless You.
Your code so far
<!-- file: index.html -->
/* file: script.js */
// User Editable Region
switch (e.target.value) {
case "nickname":
setPlayerCards(players.filter((player) => player.nickname !== null {
}))
}
// User Editable Region
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Challenge Information:
Learn Modern JavaScript Methods by Building Football Team Cards - Step 39