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

Tell us what’s happening:

My code isn’t passing even though it’s correct.
It keeps telling me that i should have a variable called playlistSongs but it is clearly declared in my code

Your code so far

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

/* file: styles.css */

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

const playlistSongs = document.getElementByID("playlist-songs");
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/125.0.0.0 Safari/537.36

Challenge Information:

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

Capitalization is extremely important when writing code.

The method you need to use is getElementById(). Correct your capitalization and you will pass the challenge.

Happy coding. :slight_smile: