logo

Crowdly

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

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

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".

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.uowplatform.edu.au?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!