Tell us what’s happening:
My function should save the current time on songCurrentTime but it’s not passing for the test, why?
Your code so far
<!-- file: index.html -->
/* file: script.js */
// User Editable Region
function pauseSong() {
userData.songCurrentTime = audio.currentTime;
}
// User Editable Region
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3 Safari/605.1.15
Challenge Information:
Build a Music Player - Step 21