Javascript Music Player Step 4

Step 4

Inside the allSongs array, create an object with the following properties and values:

id: 0,
title: “Scratching The Surface”,
artist: “Quincy Larson”,
duration: “4:25”,
src: “https://s3.amazonaws.com/org.freecodecamp.mp3-player-project/scratching-the-surface.mp3

My code so far:

const allSongs = [
id: 0,
title: “Scratching The Surface”,
artist: “Quincy Larson”,
duration: “4:25”,
src: “https://s3.amazonaws.com/org.freecodecamp.mp3-player-project/scratching-the-surface.mp3”,

];

The colon after each of the properties is showing an error and the button to check my code is not working. I’ve tried removing the space between the property and value, resetting the lesson, and reloading the page. Any ideas?

The instructions ask for an object with all of these properties. Have you put all of this inside of an object?

Rofl, forgot the curly brakets, thank you! I hand-typed this twice, thinking I misspelled something!