Tell us what’s happening:
Hi, people, could you please help me with this stage? The “song.id” is underlined with red and my code doesn’t pass, but I can’t understand what’s the reason
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
const playSong = (id) => {
const song = userData?.songs.find((song) song.id === id);
};
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Linux; arm_64; Android 13; RMX3191) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.39 YaBrowser/24.4.7.39.00 SA/3 Mobile Safari/537.36
Challenge Information:
Learn Basic String and Array Methods by Building a Music Player - Step 36