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

Tell us what’s happening:

I believe my code is correct but an error is detected.
I am using Google Chrome as my browser with no extensions.
I logged in using Firefox and Windows Explorer and experienced the same problem.
Any advice?

Your code so far

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

/* file: styles.css */

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

const playlistSongs = getElementById(playlist-songs);
const playButton = getElementById(play);
const pauseButton = 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

Welcome to the forum!

You are missing the “document.get…” prefixes and the ids should be in quotes.

Thank you! That worked !