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

Tell us what’s happening:

I genuinely do not know what is wrong. I added the curly brackets and have tried every iteration of different types of quotation-like marks I can think of. I tried referencing the role playing game project, and it has instances like this that use both backticks and double quotes and I cannot distinguish why you would use one over the other. Send help!

Your code so far

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

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

{id: 0,
title: "Scratching The Surface",
artist: "Quincy Larson",
duration: 4:25,
src: https://cdn.freecodecamp.org/curriculum/js-music-player/scratching-the-surface.mp3,
}

// 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/127.0.0.0 Safari/537.36

Challenge Information:

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

Hi there,

Please look closely at the value of duration and src of your object and compare those to the values of the object in the example code in the instruction.

Can you see the differences?

Or you can just copy and paste the properties and values in the example.

I was so sure I had already copied and pasted while including the curly brackets that I did not bother to revisit that! Sorry for the oversight and thanks for your help :slight_smile:

1 Like