step 10 is driving me crazy
Step 10
To handle the current song’s information and track its playback time, create a currentSong and songCurrentTime properties. Set the values to null and 0 respectively.
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
let userData = {
songs: [...allSongs],
currentSong: [...null],
songCurrentTime: [...0],
};
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Challenge Information:
Learn Basic String and Array Methods by Building a Music Player - Step 10