Alerts

Click
  • The page should have a Click button
  • When the button is clicked, an alert is displayed to the user
  • Alert window should display text "I am an alert!"
  • The alert should have an OK, Cancel buttons and a text input field
  • After clicking on the OK or Cancel button, the alert should be closed
  • The user's input should be displayed on the page