Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create an interactive webpage for a radio station. This page should take care of listeners requests. Start off with a page that contains an ordered

Create an interactive webpage for a radio station. This page should take care of listener’s requests. Start off with a page that contains an ordered list containing 3 songs (we will pretend these have already been requested), a textbox for the listener to enter the song they want to request, and a button to submit their request. When the button is pressed the song in the textbox should be added to the bottom of the ordered list and cleared from the textbox. In addition, if the webpage gets more than 5 songs on the ordered list, all songs in the list should turn red indicating that the station would rather not have additional requests at this time. The button should also reflect this by having its text now indicate a long wait to hear additional requested songs. Regardless, the user should still be able to enter additional requests if they want to.

The following methods are required for this lab. Please document the use of each of these at least once in separate pictures of your code.

createElement

appendChild

length

querySelect and/or querySelectAll

innerHTML

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elements Of Chemical Reaction Engineering

Authors: H. Fogler

6th Edition

013548622X, 978-0135486221

More Books

Students also viewed these Programming questions