CIW JavaScript Fundamentals exam 1D0-435 Question # 20 Topic 3 Discussion

CIW JavaScript Fundamentals exam 1D0-435 Question # 20 Topic 3 Discussion

1D0-435 Exam Topic 3 Question 20 Discussion:
Question #: 20
Topic #: 3

Sven wants to open a new window with JavaScript, be he repeatedly receives an error message. He reviews his code, as shown:

open (“http://www.prolific.com”, “Pro Window” , “toolbar = 1 ,location = 1 ,menubar = 1 ,

scrollbars = 1 ,status = 1 ,resizable = 1”);

Which one of the following choices shows how Sven should rewrite this line of code so that no errors result when it is executed?


A.

open(“http://www.prolific.com”.”Pro Windows”.”toolbar=!

,location=1,menubar=1,scrollbars=1,status=1,resizable=1 “);


B.

open(“http://www.prolific.com”,”Pro Window “,”toolbar = 1,location =1,menubar = 1 ,scrollbars =

1,status = 1 ,resizable = 1”);


C.

open(“http://www.prolific.com”.”ProWindow

“,”toolbar=1,location=1,menubars=1,scrollbars=1,status=1,resizable=1 “);


D.

open (“http://www.prolific.com”, “ProWindows”,”toolbar = 1,location = 1,menubar = 1,scrollbars =

1,status = 1,resizable = 1 “);


Get Premium 1D0-435 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.