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

Tell us what’s happening:

i don’t understand whats wrong i even went to the next project to check my work as far as i can see i did everything right but it still wont pass

Your code so far

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

/* file: styles.css */

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

const playButton = document.getElementById("play");
const pauseButton = document.getElementById("pause");

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

Challenge Information:

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

Hi. There were 3 to do. Do the third one and it should pass.

1 Like

i actually did do the third variable but for some reason it didnt post when i created the topic the actual reason my code didn’t pass was i capitalized the s in the playist-songs string

2 Likes

Reload the step and restart. Then copy / paste here your js code.