Chapter17
directory on your thumbdrive.playlist.html
(content on page 87) and playlist.js
files.Add Song
button.playlist
form to include two input fields:
one for the song's titleauthor.
prompt()
function to get values for these fields, if the user leaves one (or both) blank.span
element to contain the song title.class
property with value title. (Hint: use the
setAttribute()
method.)
span
element (with class
author) for the author field.
li
) and add the two span
elements as its children.If you have the chance,
playlist_store.js
file provided on page 105, andplaylist.html
file (page 106).
Edit the index.html
file in your LABS
directory to have a link
to the playlist.html
page in a Chapter17
directory.
id
attribute value
(such as key_0
or key_enter
).
alert
to be displayed when a key is clicked.
The alert should include the name of the key being clicked.
Always turn off your computer and screen before leaving the room.