logo

Crowdly

On a web page, displays "Enter command: ", followed by a text field for the user...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

On a web page, displays "Enter command: ", followed by a text field for the user to enter a command. The user can enter a command and press the Enter key to execute the command.

pix

There are two valid commands: "display lion" and "display frog".

  • When the user enters the command "display lion" and presses Enter key, then an image

    of a lion is displayed on the webpage.

  • When the user enters the command "display frog" and presses Enter key, then an image

    of a frog is displayed on the webpage.

  • If the user enters an invalid command and presses Enter key then an alert window

    appears which says "Invalid command".

More questions like this

Want instant access to all verified answers on moodle.uowplatform.edu.au?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!