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

Tell us what’s happening:

My console keeps giving me this message:

You should create a button element with the class playlist-song-delete as its first attribute and value.

Please help me

Your code so far

<button class=“playlist-song-delete aria-label=“Delete” ${song.title}”>

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0

Challenge Information:

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

Can you provide us with your code/

2 Likes

@arifsyah1018

Hey there,

You are almost there, just give a second look towards it. You didn’t close the double-quotes of class attribute’s value. Also the value of aria-label attribute should be enclosed in a single pair of double-quotes. For example:

aria-label="value1 value2"

Happy Coding :keyboard: !

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.