Skip to content

Latest commit

 

History

History
executable file
·
9 lines (7 loc) · 1.26 KB

File metadata and controls

executable file
·
9 lines (7 loc) · 1.26 KB

Which of the following statements are examples of pop-up boxes? <<

[ ] Prompt("Welcome", 0); {{ selected: Incorrect because the statement does not adhere to JavaScript syntax. "Prompt" should not be capitalized.}, { unselected: Incorrect because the statement does not adhere to JavaScript syntax. "Prompt" should not be capitalized.}} [ ] alert {{ selected: Incorrect because the statement does not adhere to JavaScript syntax. The parenthesis and input are missing.}, { unselected: Incorrect because the statement does not adhere to JavaScript syntax. The parenthesis and input are missing.}} [x] alert("Welcome"); {{ selected: Correct because the alert box adheres to JavaScript Syntax.}, { unselected: Correct because the alert box adheres to JavaScript Syntax.}} [x] confirm("Welcome"); {{ selected: Correct because the confirm box adheres to JavaScript Syntax.}, { unselected: Correct because the confirm box adheres to JavaScript Syntax.}} [ ] prompt( {{ selected: Incorrect because the statement does not adhere to JavaScript syntax. The right bracket and input are missing.}, { unselected: Incorrect because the statement does not adhere to JavaScript syntax. The right bracket and input are missing.}}

||The syntax for some of the answer choices are incorrect. ||