Learn Basic String and Array Methods by Building a Music Player - Step 6

Tell us what’s happening:

Hello! So I think I’ve noticed a bug on this step. First of all, on Safari the example code window doesn’t display properly (there’s no vertical scroll), I’ve tried it on Chrome and it doesn’t display properly neither. Because of this, I copied the src string from the console and noticed that it’s the string from the previous step - ‘can’t stay down’, even tho it needs to be ‘still learning’. Thank you, I’m really enjoying this course

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

// https://cdn.freecodecamp.org/curriculum/js-music-player/still-learning.mp3
{
  id: 2,
title: "Still Learning",
artist: "Quincy Larson",
duration: "3:51",
src: "https://cdn.freecodecamp.org/curriculum/js-music-player/can't-stay-down.mp3"
}

// User Editable Region

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/17.5 Safari/605.1.15

Challenge Information:

Learn Basic String and Array Methods by Building a Music Player - Step 6

from where?

the code given in the Example Code box is this:

id: 2,
title: "Still Learning",
artist: "Quincy Larson",
duration: "3:51",
src: "https://cdn.freecodecamp.org/curriculum/js-music-player/still-learning.mp3",

no, the example code window is correct. im saying that the test feedback is wrong on this step. it says:

The third object in your allSongs array should have a src property set to the string "https://cdn.freecodecamp.org/curriculum/js-music-player/can't-stay-down.mp3" 

even though it should be “still-learning” on this step. its a minor bug, but confused me a bit cuz I don’t have horizontal scroll in the example code box. i’ve found out that you can scroll it if you highlight the text since then though.
thank y’all for your time and for this amazing course, still enjoying it

do you mean the HINT?

you are right. Would you be willing to open a github issue? otherwise I will open the issue myself.

thanks, I’ve just created one🥸

1 Like

Thank you very much! if you feel like it you could even try to solve it