Long description

Back

The first browser window titled Chapter 8 shows a window prompt that has a level-1 heading that reads, This page says. A line that reads, Hello World is placed below the heading. The heading and the line of text are aligned to the left of the window prompt. A button labeled O K is placed at the bottom right of the window prompt. The corresponding code reads as follows: alert open parenthesis open double quotes Hello World close double quotes close parenthesis semicolon.

The second browser window titled Chapter 8 shows a window prompt that has a level-1 heading that reads, This page says. A line that reads, What is your greatest professional achievement question mark is placed below the heading. A textbox that contains the value Learning JavaScript is placed below the line of text. The heading, line of text, and textbox are aligned to the left of the window prompt. Two buttons labeled O K and Cancel are placed side-by-side at the bottom right of the window prompt. The corresponding code reads as follows: let answer equals prompt open parenthesis open double quotes What is your greatest achievement question mark close double quotes close parenthesis semicolon.

The third browser window titled Chapter 8 shows a window prompt that has a level-1 heading that reads, This page says. A line that reads, Do you wish to continue question mark is placed below the heading. The heading and the line of text are aligned to the left of the window prompt. Two buttons labeled O K and Cancel are placed side-by-side at the bottom right of the window prompt. The corresponding code reads as follows: let answer equals confirm open parenthesis open double quotes Do you wish to continue question mark close double quotes close parenthesis semicolon.

Back